Skip to content

Commit 23bf3ea

Browse files
fix(build): bring back commonjs build
1 parent ee51638 commit 23bf3ea

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
@@ -33,7 +33,7 @@
3333
"scripts": {
3434
"lint": "prettier --write --config ./.prettierrc.yml '{src,test}/**/*.ts' && tslint --fix -t codeFrame '{src,test}/**/*.ts'",
3535
"prebuild": "rimraf dist",
36-
"build": "tsc --outDir ./dist/_esm2015/ && tsc --outDir ./dist/_esm5/ --target es5",
36+
"build": "tsc --outDir ./dist/_esm2015/ && tsc --outDir ./dist/_esm5/ --target es5 && tsc --outDir ./dist/ --module commonjs",
3737
"build:docs": "typedoc --out dist/docs --target es6 --theme minimal",
3838
"build:deprecated:old": "tsc && rollup -c && rimraf compiled && typedoc --out dist/docs --target es6 --theme minimal sr",
3939
"test": "jest",

0 commit comments

Comments
 (0)