No matter where I put the export statement I get the same error
export declarations may only appear at top level of a module
I've tried adding type="module" to the script tag but it didn't help and I'm trying to avoid it.
JS:
export { LogTypes, DateTypes, GetTypes, get, show, hide } from ...;
const LogTypes = {
Default: "DEFAULT",
Info: "INFO",
Warn: "WARN",
Error: "ERROR"
};
const DateTypes = {
Current: "CURRENT",
Log: "LOG",
Short: "SHORT",
Long: "LONG"
};
const GetTypes = {
Name: "NAME",
Id: "ID",
Tag: "TAG",
Query: "QUERY",
QueryAll: "QUERYALL"
};
...