Skip to content
Snippets Groups Projects
Commit 0fdb77ca authored by valzav's avatar valzav
Browse files

fix condenser build with node 8.5 and webpack 1.5

parent 68496c34
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
"test": "eslint --quiet src test; mocha -t 20000 --require babel-polyfill --require babel-register",
"test-auth": "npm test -- --grep 'steem.auth'",
"build": "npm run build-browser && npm run build-node",
"build-browser": "rm -rf dist && NODE_ENV=production webpack && gzip -k -f ./dist/*.js && du -h ./dist/*",
"build-browser": "rm -rf dist && NODE_ENV=production node ./node_modules/webpack/bin/webpack.js && gzip -k -f ./dist/*.js && du -h ./dist/*",
"build-node": "mkdir -p ./lib && cp -r ./src/* ./lib/ && babel ./src --out-dir ./lib",
"prepublish": "npm run build",
"postinstall": "postinstall-build lib && cross-env scripts/post-install.js"
......
......@@ -84,7 +84,6 @@ function makeConfig(options) {
loaders: [
{
test: /\.js?$/,
exclude: /node_modules/,
loader: 'babel',
},
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment