feat: Turn index.html into a template
This commit is contained in:
@@ -12,7 +12,7 @@ clean:
|
||||
build: prod
|
||||
prod: node_modules clean
|
||||
@echo Building with parcel
|
||||
./node_modules/.bin/parcel build --out-dir dist/app src/index.html
|
||||
NODE_DEV=production ./node_modules/.bin/parcel build --out-dir dist/app src/index.hbs
|
||||
./node_modules/.bin/parcel build --out-dir dist src/lost.html src/error.html
|
||||
sed -e "s/\/src/\/app\/src/g" --in-place dist/app/index.html
|
||||
|
||||
@@ -20,7 +20,7 @@ prod: node_modules clean
|
||||
|
||||
dev: node_modules clean
|
||||
@echo Building with parcel
|
||||
./node_modules/.bin/parcel build --out-dir dist/app src/index.html
|
||||
NODE_ENV=development ./node_modules/.bin/parcel build --out-dir dist/app src/index.hbs
|
||||
./node_modules/.bin/parcel build --out-dir dist src/lost.html src/error.html
|
||||
sed -e "s/\/src/\/app\/src/g" --in-place dist/app/index.html
|
||||
|
||||
|
||||
Reference in New Issue
Block a user