add extractlocals to build script
This commit is contained in:
parent
024ff3cb50
commit
4562b0bf99
2 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@ cd ..
|
||||||
# build ui
|
# build ui
|
||||||
cd ui
|
cd ui
|
||||||
npm install
|
npm install
|
||||||
|
node extractLocals.js
|
||||||
node_modules\.bin\node-sass --output dist\css --sourcemap=none scss\
|
node_modules\.bin\node-sass --output dist\css --sourcemap=none scss\
|
||||||
node_modules\.bin\webpack
|
node_modules\.bin\webpack
|
||||||
Copy-Item dist ..\app\ -recurse
|
Copy-Item dist ..\app\ -recurse
|
||||||
|
|
|
@ -61,6 +61,7 @@ npm install
|
||||||
(
|
(
|
||||||
cd "$ROOT/ui"
|
cd "$ROOT/ui"
|
||||||
npm install
|
npm install
|
||||||
|
node extractLocals.js
|
||||||
node_modules/.bin/node-sass --output dist/css --sourcemap=none scss/
|
node_modules/.bin/node-sass --output dist/css --sourcemap=none scss/
|
||||||
node_modules/.bin/webpack
|
node_modules/.bin/webpack
|
||||||
cp -r dist/* "$ROOT/app/dist/"
|
cp -r dist/* "$ROOT/app/dist/"
|
||||||
|
|
Loading…
Add table
Reference in a new issue