diff --git a/frontend/Makefile b/frontend/Makefile index 541c68c..b4653c9 100644 --- a/frontend/Makefile +++ b/frontend/Makefile @@ -13,8 +13,8 @@ clean: build: prod prod: node_modules clean @echo Building with parcel - NODE_DEV=production ./node_modules/.bin/parcel build --out-dir dist/app --public-url /app/ src/index.hbs - NODE_ENV=production ./node_modules/.bin/parcel build --out-dir dist src/lost.html src/error.html + NODE_ENV=production ./node_modules/.bin/parcel build --out-dir dist/app --public-url /app/ --no-autoinstall src/index.hbs + NODE_ENV=production ./node_modules/.bin/parcel build --out-dir dist --no-autoinstall src/lost.html src/error.html @echo Generate checksums find ./dist/ -exec sha512sum {} + | awk -F \. '{ if($$4 != "map") print $$0}' | awk -F \/ '{ if($$3 == "lost.html") {} else if ($$3 == "error.html") {} else print $$0}' > sha512sums