Archived
feat: Turn index.html into a template
This commit is contained in:
1 parent
082f254da0
commit
4857067481
4 files changed
+1225
-7
No files matched your search
+2
-2
@@ -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