Skip to content

Commit f2571e2

Browse files
committed
[package.json][s]update script
1 parent a24171f commit f2571e2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"test": "yarn run test:node && yarn run test:browser",
1111
"test:browser": "yarn run build:browser && karma start karma.conf.js --browsers=ChromeHeadless",
1212
"test:node": "nyc mocha --require @babel/register datajs/test/*",
13-
"build:browser": "rm -rf ./dist/browser/ && webpack --mode production",
14-
"build:node": "rm -rf ./dist/node/ && babel ./datajs/ -d ./dist/node --no-comments",
13+
"build:browser": "webpack --mode production",
14+
"build:node": "babel ./datajs/ -d ./dist/node --no-comments",
1515
"build": "yarn run build:node && yarn run build:browser",
1616
"build:watch": "webpack --watch",
1717
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",

webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const createConfig = (target) => {
1010
},
1111
target: target,
1212
output: {
13-
path: path.resolve(__dirname, './dist/browser'),
13+
path: path.resolve(__dirname, 'dist/browser'),
1414
filename: `bundle.js`,
1515
library: 'data',
1616
},

0 commit comments

Comments
 (0)