diff options
author | 2021-07-12 17:01:33 -0500 | |
---|---|---|
committer | 2021-07-12 17:01:33 -0500 | |
commit | 7583a8b42a6db44ca589398dba0cd9fe53643bef (patch) | |
tree | c80050f51c748285bccd0355612bfa7b86465f00 /packages/markdown-support | |
parent | 9859f53903f51f42fbe00bd7d3b160bcafb06b8f (diff) | |
download | astro-7583a8b42a6db44ca589398dba0cd9fe53643bef.tar.gz astro-7583a8b42a6db44ca589398dba0cd9fe53643bef.tar.zst astro-7583a8b42a6db44ca589398dba0cd9fe53643bef.zip |
Update build script to avoid bundling (#304)
* fix: simplify astro-scripts build
* fix: remove source-map-support, add missing `.js` extensions
* refactor: use `module` for `@astrojs/markdown-support`
* fix: missing `.js` extension
* fix: missed @astrojs/parser
* fix: remove old file
* fix: merge conflict
* fix: CJS weirdness
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" } } |