always enable resourceHints

This commit is contained in:
Pooya Parsa 2018-05-02 14:17:46 +04:30 committed by Pooya Parsa
parent b7c6a87239
commit a8cbbf03ce
3 changed files with 1 additions and 9 deletions

View File

@ -169,7 +169,7 @@ export default {
bundleRenderer: {
shouldPrefetch: () => false
},
resourceHints: undefined,
resourceHints: true,
ssr: undefined,
http2: {
push: false,

View File

@ -144,11 +144,6 @@ Options.from = function (_options) {
options.build.babel.cacheDirectory = options.dev
}
// Resource hints
if (options.render.resourceHints === undefined) {
options.render.resourceHints = !options.dev
}
// Normalize ignore
options.ignore = options.ignore ? [].concat(options.ignore) : []

View File

@ -36,8 +36,5 @@ export default {
build: {
scopeHoisting: true,
postcss: [require('postcss-cssnext')()]
},
render: {
resourceHints: true
}
}