Skip to content

Commit 5a55f14

Browse files
Ensure tests are not included in generated build
1 parent 658412c commit 5a55f14

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"homepage": "https://github.com/atlassian/react-sweet-state#readme",
2424
"scripts": {
2525
"clean:build": "rm -rf ./lib",
26-
"build:cjs": "babel src/ -d lib/cjs --ignore **/__tests__ --presets @babel/env",
27-
"build:esm": "babel src/ -d lib/esm --ignore **/__tests__",
26+
"build:cjs": "babel src/ -d lib/cjs --ignore \"src/**/__tests__\" --presets @babel/env",
27+
"build:esm": "babel src/ -d lib/esm --ignore \"src/**/__tests__\"",
2828
"build:flow": "echo lib/cjs lib/esm | xargs -n 1 cp src/index.js.flow",
2929
"build": "npm run clean:build -s && npm run build:cjs -s && npm run build:esm -s && npm run build:flow -s",
3030
"test": "jest",

0 commit comments

Comments
 (0)