Skip to content

Commit 7d65e25

Browse files
committed
dont bundle and minify build
1 parent d79749a commit 7d65e25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "remark plugin to generate a table of contents (toc) which can be inserted in mdx via a placeholder or you use the output",
55
"main": "./dist/index.js",
66
"scripts": {
7-
"build": "esbuild ./src/index.ts --format=esm --bundle --minify --target=es2015 --outdir=dist && npm run types",
7+
"build": "esbuild ./src/index.ts --format=esm --target=es2022 --outdir=dist && npm run types",
8+
"build-min": "esbuild ./src/index.ts --format=esm --bundle --minify --target=es2022 --outdir=dist && npm run types",
89
"lint": "npx eslint src/",
910
"types": "tsc --declaration --emitDeclarationOnly --declarationDir dist"
1011
},

0 commit comments

Comments
 (0)