Skip to content

Commit fd29483

Browse files
Exclude test files from build
1 parent 7e99fea commit fd29483

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
@@ -16,7 +16,7 @@
1616
"node": ">=8"
1717
},
1818
"scripts": {
19-
"build": "npm run clean && babel src -d lib --extensions '.js,.ts'",
19+
"build": "npm run clean && babel src -d lib --extensions '.js,.ts' --ignore '**/*.spec.js','**/*.spec.ts'",
2020
"build-demo": "webpack --config demo/webpack.config.js",
2121
"clean": "rimraf lib/*",
2222
"format": "prettier --write 'src/**'",

0 commit comments

Comments
 (0)