fix: enable production mode

This commit is contained in:
Justineo
2021-02-02 18:23:47 +08:00
parent 9c55934886
commit 7d7867f4b9

View File

@@ -6,7 +6,7 @@
"private": true,
"scripts": {
"dev": "npm run docs && HOST=0.0.0.0 nuxt & node -r esm ./one/build/watch.js",
"build": "npm run docs && nuxt build",
"build": "NODE_ENV=production npm run docs && nuxt build",
"docs": "node -r esm ./one/build/generate.js",
"start": "nuxt start",
"generate": "npm run docs && nuxt generate",