first commit
This commit is contained in:
11
build.cmd
Normal file
11
build.cmd
Normal file
@@ -0,0 +1,11 @@
|
||||
rem This bat file minifies all js and css and creates a dist folder with everything in it
|
||||
|
||||
rmdir "dist" /S /Q
|
||||
mkdir dist
|
||||
|
||||
node node_modules\minifyfromhtml\minifyfromhtml.js --js=dist\myapp.js --css=dist\myapp.css < index.html
|
||||
|
||||
copy /Y index.production.html dist\index.html
|
||||
copy /Y favicon.ico dist\favicon.ico
|
||||
xcopy /F /Y /I /S app dist\app
|
||||
xcopy /F /Y /I i18n dist\i18n
|
Reference in New Issue
Block a user