diff --git a/netlify.toml b/netlify.toml index 914ac91..d1701ac 100644 --- a/netlify.toml +++ b/netlify.toml @@ -5,4 +5,4 @@ [build] publish = "packages/playground/dist" - command = "npm install -g pnpm && pnpm install && pnpm build" + command = "npm install -g pnpm && pnpm install && pnpm build --filter playground" diff --git a/norm.config.mjs b/norm.config.mjs index 4cc8993..573b834 100644 --- a/norm.config.mjs +++ b/norm.config.mjs @@ -110,6 +110,7 @@ export default defineConfig({ ], }, }, + 'packages/utils': libraryConfig, 'packages/plugin-breaks': libraryConfig, 'packages/plugin-footnotes': libraryConfig, 'packages/plugin-frontmatter': libraryConfig, diff --git a/package.json b/package.json index 08a4044..984fa85 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "build": "npm run clean && norm build", "clean": "rm -rf packages/*/{dist,svelte}", - "dev": "echo 'export * from \"../src/index\"' > packages/bytemd/svelte/index.js && norm", + "dev": "norm", "docs:build": "vitepress build docs", "docs:dev": "vitepress dev docs", "docs:serve": "vitepress serve docs", diff --git a/packages/playground/index.html b/packages/playground/index.html index 35daac4..f394ae3 100644 --- a/packages/playground/index.html +++ b/packages/playground/index.html @@ -5,6 +5,19 @@