diff options
Diffstat (limited to 'packages/markdown-support')
-rw-r--r-- | packages/markdown-support/package.json | 2 | ||||
-rw-r--r-- | packages/markdown-support/tsconfig.json | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/markdown-support/package.json b/packages/markdown-support/package.json index bf7e7d5c9..d5f10add1 100644 --- a/packages/markdown-support/package.json +++ b/packages/markdown-support/package.json @@ -13,7 +13,7 @@ }, "scripts": { "prepublish": "yarn build", - "build": "astro-scripts build --format cjs \"src/**/*.ts\" && tsc -p tsconfig.json", + "build": "astro-scripts build \"src/**/*.ts\" && tsc -p tsconfig.json", "dev": "astro-scripts dev \"src/**/*.ts\"" }, "dependencies": { diff --git a/packages/markdown-support/tsconfig.json b/packages/markdown-support/tsconfig.json index 13d42008a..c56abb57e 100644 --- a/packages/markdown-support/tsconfig.json +++ b/packages/markdown-support/tsconfig.json @@ -4,7 +4,7 @@ "compilerOptions": { "allowJs": true, "target": "ES2020", - "module": "CommonJS", + "module": "ES2020", "outDir": "./dist" } } |