Skip to content

Commit e1588d9

Browse files
committed
fix: graphiql babel test ignore paths
1 parent 6b091a7 commit e1588d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/graphiql/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
"analyze-bundle": "cross-env NODE_ENV=production CDN=1 ANALYZE=1 yarn webpack -p",
3434
"build": "yarn build-clean && yarn build-cjs && yarn build-esm && yarn build-flow",
3535
"build-clean": "rimraf esm dist",
36-
"build-cjs": "babel src --ignore __tests__ --out-dir dist/",
37-
"build-esm": "cross-env ESM=1 babel src --ignore __tests__ --out-dir esm/",
36+
"build-cjs": "babel src --ignore '**/__tests__/**,**/__mocks__/**,*.spec.*' --out-dir dist/",
37+
"build-esm": "cross-env ESM=1 babel src --ignore '**/__tests__/**,**/__mocks__/**,*.spec.*' --out-dir esm/",
3838
"build-bundles": "yarn build-bundles-clean && yarn build-bundles-dev && yarn build-bundles-min",
3939
"build-bundles-dev": "cross-env NODE_ENV=development CDN=1 yarn webpack -d --bail",
4040
"build-bundles-min": "cross-env NODE_ENV=production CDN=1 yarn webpack -p --bail",

0 commit comments

Comments
 (0)