Skip to content
This repository has been archived by the owner on Sep 11, 2018. It is now read-only.

Unable to create zip with data Node issue #1345

Open
harishsoni opened this issue Feb 13, 2018 · 0 comments
Open

Unable to create zip with data Node issue #1345

harishsoni opened this issue Feb 13, 2018 · 0 comments

Comments

@harishsoni
Copy link

harishsoni commented Feb 13, 2018

My scripts contains following lines and I'm not able to create the build.zip.
After a lot of changes on below script, only empty bundle.zip get created.

"scripts": {
"dev": "babel-node ./webpack.dev.server.js",
"dev:proxy": "babel-node ./webpack.dev.server.proxy.js",
"build:zip": "cd build/target && bestzip ../bundle.zip /",
"build": "rimraf build && cross-env NODE_ENV=development webpack --config webpack.config.babel.js && npm run build:zip",
"build:dev": "rimraf build && webpack --config webpack.config.babel.js && npm run build:zip",
"precommit": "babel-node resources/git/precommit.js && mocha --compilers js:babel-register -r test/index.js -R min "./test/**/
.test.js"",
"test": "rimraf mocha.json && istanbul cover node_modules/mocha/bin/_mocha -- --compilers js:babel-register --require test/index.js --recursive -u exports -R mocha-bamboo-reporter "./test//*.test.js" || cat mocha.json",
"tdd": "mocha --compilers js:babel-register -r test/index.js -R min -w "./test/
/*.test.js""
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant