Skip to content

Commit 6874208

Browse files
committed
Generating source maps for ES5 distribution
1 parent 8ca0247 commit 6874208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
],
1414
"scripts": {
1515
"build": "rimraf dist/ && tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json && npm run build-web",
16-
"build-web": "BABEL_ENV=web babel dist/esm --config-file=./babel.config.js --out-dir=dist/web",
16+
"build-web": "BABEL_ENV=web babel dist/esm --config-file=./babel.config.js --out-dir=dist/web --source-maps=true",
1717
"pretest": "npm run build",
1818
"test": "echo \"It built ok, that'll do for now\"",
1919
"prepack": "npm run build",

0 commit comments

Comments
 (0)