From 5c738d8f4d76feef49e225245645a1f2d85046a8 Mon Sep 17 00:00:00 2001 From: Bogdan Lyashenko Date: Tue, 16 Jul 2019 21:07:51 +0200 Subject: [PATCH] chore: build --- .gitignore | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e2fe681..0cd61fc 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,7 @@ node_modules # Build directories src/public/dist/local/bundle/ -standalone-build/ +build/ # example for dev # example-project diff --git a/package.json b/package.json index 6ad9df2..11adc2d 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,8 @@ "client-dev": "cd src/public && webpack --config webpack.dev.js --progress --colors --watch --env dev", "server-dev": "nodemon src/index.dev.js", "server-debug": "nodemon --inspect src/index.dev.js", - "clean": "rm -rf standalone-build", - "babel-compile-standalone": "babel src/public/js -d standalone-build --config-file ./src/public/babel.config.js --copy-files", + "clean": "rm -rf build", + "babel-compile-standalone": "babel src/public/js -d build --config-file ./src/public/babel.config.js --copy-files", "webpack-compile-local": "cd src/public && webpack --config webpack.local.js --progress", "build": "yarn clean && yarn babel-compile-standalone && yarn webpack-compile-local", "pretty": "prettier --write \"./src/public/js/**/*.js\""