diff --git a/netlify.toml b/netlify.toml index 3eb9960..31fc41a 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,11 @@ [build] publish = "dist/" - command = "npm run generate" + command = "npm run generate --quiet" + + + +[build.environment] + NPM_FLAGS = "--no-optional" # https://docs.netlify.com/configure-builds/file-based-configuration/#redirects @@ -10,7 +15,7 @@ from = "/app/node" to = "/app/nodejs" status = 301 - + [[redirects]] from = "/kind/entertainment" to = "/kind/entertainment-and-media-apps/" diff --git a/nuxt.config.js b/nuxt.config.js index 7b6f456..528ea60 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -284,7 +284,13 @@ export default { ** Build configuration */ build: { - html: { minify: { collapseWhitespace: true } }, + html: { + minify: { + minifyCSS: false, + minifyJS: false, + collapseWhitespace: true + } + }, /* ** You can extend webpack config here */