remove route preloading from sapper, force NODE_ENV=production
This commit is contained in:
parent
ea717b74e3
commit
7b848db140
10
package-lock.json
generated
10
package-lock.json
generated
|
@ -8342,7 +8342,7 @@
|
|||
}
|
||||
},
|
||||
"sapper": {
|
||||
"version": "github:nolanlawson/sapper#2b21a7cfefaa9305354ce0ce0a51a83e9fe645a6",
|
||||
"version": "github:nolanlawson/sapper#f6b505dde7318c4925ef4cab824653293602d271",
|
||||
"requires": {
|
||||
"chalk": "2.3.2",
|
||||
"chokidar": "1.7.0",
|
||||
|
@ -8352,7 +8352,7 @@
|
|||
"require-relative": "0.8.7",
|
||||
"rimraf": "2.6.2",
|
||||
"webpack": "3.11.0",
|
||||
"webpack-hot-middleware": "2.21.2"
|
||||
"webpack-hot-middleware": "2.22.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"acorn-dynamic-import": {
|
||||
|
@ -11047,9 +11047,9 @@
|
|||
}
|
||||
},
|
||||
"webpack-hot-middleware": {
|
||||
"version": "2.21.2",
|
||||
"resolved": "https://registry.npmjs.org/webpack-hot-middleware/-/webpack-hot-middleware-2.21.2.tgz",
|
||||
"integrity": "sha512-N5c80o31E0COFJV8HRjiX3hJetDOwQ2Ajt5TTORKA9diOimhFtmaZKSfO3pQKMeQngb7I4TUnNDroJiUzPFhKQ==",
|
||||
"version": "2.22.0",
|
||||
"resolved": "https://registry.npmjs.org/webpack-hot-middleware/-/webpack-hot-middleware-2.22.0.tgz",
|
||||
"integrity": "sha512-kmjTZ6WXZowuBfTk1/H/scmyp09eHwPpqF2mHRZ9WMCBlQ61NSkqZ25azPlPOeCIhva57PGrUyeTIW5X8Q7HEw==",
|
||||
"requires": {
|
||||
"ansi-html": "0.0.7",
|
||||
"html-entities": "1.2.1",
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
"dev": "run-s build-svg serve-dev",
|
||||
"serve-dev": "run-p --race build-sass-watch serve",
|
||||
"serve": "node server.js",
|
||||
"build": "run-s globalize-css build-sass build-svg sapper-build deglobalize-css",
|
||||
"sapper-build": "sapper build",
|
||||
"build": "cross-env NODE_ENV=production run-s globalize-css build-sass build-svg sapper-build deglobalize-css",
|
||||
"sapper-build": "cross-env NODE_ENV=production sapper build",
|
||||
"start": "cross-env NODE_ENV=production node server.js",
|
||||
"build-and-start": "run-s build start",
|
||||
"build-svg": "node ./bin/build-svg.js",
|
||||
|
|
Loading…
Reference in a new issue