Open harishsoni opened 6 years ago
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\"" }
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\"" }