add extractlocals to build script

This commit is contained in:
Alex Grintsvayg 2017-06-21 08:25:57 -04:00
parent 024ff3cb50
commit 4562b0bf99
2 changed files with 2 additions and 0 deletions

View file

@ -13,6 +13,7 @@ cd ..
# build ui
cd ui
npm install
node extractLocals.js
node_modules\.bin\node-sass --output dist\css --sourcemap=none scss\
node_modules\.bin\webpack
Copy-Item dist ..\app\ -recurse

View file

@ -61,6 +61,7 @@ npm install
(
cd "$ROOT/ui"
npm install
node extractLocals.js
node_modules/.bin/node-sass --output dist/css --sourcemap=none scss/
node_modules/.bin/webpack
cp -r dist/* "$ROOT/app/dist/"