mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-27 16:50:11 +02:00
package: remove sw from build
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
"description": "A blazing fast & offline web playground",
|
"description": "A blazing fast & offline web playground",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "if-env NODE_ENV=production && npm run -s serve || npm run -s dev",
|
"start": "if-env NODE_ENV=production && npm run -s serve || npm run -s dev",
|
||||||
"build": "preact build --template src/index.html --no-prerender",
|
"build": "preact build --template src/index.html --no-prerender --service-worker false",
|
||||||
"serve": "preact build && preact serve",
|
"serve": "preact build && preact serve",
|
||||||
"dev": "preact watch --template src/index.html --https --no-prerender",
|
"dev": "preact watch --template src/index.html --https --no-prerender",
|
||||||
"lint": "eslint src",
|
"lint": "eslint src",
|
||||||
|
Reference in New Issue
Block a user