diff --git a/build.cmd b/build.cmd index aeb4645..4f6a54c 100644 --- a/build.cmd +++ b/build.cmd @@ -1,5 +1,8 @@ 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 diff --git a/dist/empty b/dist/empty deleted file mode 100644 index 1f3e517..0000000 --- a/dist/empty +++ /dev/null @@ -1 +0,0 @@ -this file is intentionally left blank