Skip to content
Snippets Groups Projects
Verified Commit ed24b296 authored by Wojciech Barcik's avatar Wojciech Barcik
Browse files

Remove "dist" directory on yarn build

parent bb48f585
No related branches found
No related tags found
1 merge request!364Resolve "Don't inline JS source maps into production bundle"
......@@ -8,7 +8,7 @@
"description": "hive.blog is the koa web server & middleware and react.js in-browser code for the world's first blockchain content + social media monetization platform!",
"main": "index.js",
"scripts": {
"build": "NODE_ENV=production webpack --config ./webpack/prod.config.js && rm -rf ./lib && babel src --out-dir lib -D",
"build": "rm -rf ./dist && NODE_ENV=production webpack --config ./webpack/prod.config.js && rm -rf ./lib && babel src --out-dir lib -D",
"test": "jest -c src/test/unit/jest.config.js",
"eslint": "LIST=`git diff-index --diff-filter=ACMR --name-only HEAD | grep .*\\.js | grep -v json`; if [ \"$LIST\" ]; then eslint $LIST; fi",
"eslint:fix": "LIST=`git diff-index --diff-filter=ACMR --name-only HEAD | grep .*\\.js | grep -v json`; if [ \"$LIST\" ]; then eslint --fix $LIST; fi",
......
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