We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d79749a commit 7d65e25Copy full SHA for 7d65e25
package.json
@@ -4,7 +4,8 @@
4
"description": "remark plugin to generate a table of contents (toc) which can be inserted in mdx via a placeholder or you use the output",
5
"main": "./dist/index.js",
6
"scripts": {
7
- "build": "esbuild ./src/index.ts --format=esm --bundle --minify --target=es2015 --outdir=dist && npm run types",
+ "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",
9
"lint": "npx eslint src/",
10
"types": "tsc --declaration --emitDeclarationOnly --declarationDir dist"
11
},
0 commit comments