diff --git a/formats/csv/index.js b/formats/csv/index.js index 0c35ce7..9d08465 100644 --- a/formats/csv/index.js +++ b/formats/csv/index.js @@ -1,5 +1,5 @@ import Format from "../../src/format.js"; -import { parse, stringify } from "/lib/csv/dist/esm/sync.js"; +import { parse, stringify } from "../../lib/csv/dist/esm/sync.js"; export default class CSV extends Format { static defaultOptions = { diff --git a/formats/yaml/index.js b/formats/yaml/index.js index ddb3822..341198e 100644 --- a/formats/yaml/index.js +++ b/formats/yaml/index.js @@ -1,5 +1,5 @@ import Format from "../../src/format.js"; -import { parse, stringify } from "/lib/yaml/browser/index.js"; +import { parse, stringify } from "../../lib/yaml/browser/index.js"; export default class YAML extends Format { static extensions = ["yaml", "yml"]; diff --git a/package.json b/package.json index 45b34e2..823212c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,8 @@ "name": "madata", "version": "0.0.1-alpha.1", "description": "", - "main": "index.html", + "main": "js/index.js", + "type": "module", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build:css": "npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config _build/postcss.config.cjs", diff --git a/src/backend.js b/src/backend.js index a133c10..f9ca55d 100644 --- a/src/backend.js +++ b/src/backend.js @@ -272,7 +272,8 @@ export default class Backend extends EventTarget { } /** - * Auth Provider to use + * Auth Provider to use. + * This is only relevant for OAuthBackend, but specifying here as Backend is the only class users import. */ static authProvider = "https://auth.madata.dev"