Skip to content

Instantly share code, notes, and snippets.

@pablohpsilva
Created October 28, 2017 17:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pablohpsilva/b32b2770566d0affd62ef0d2877fb73b to your computer and use it in GitHub Desktop.
Save pablohpsilva/b32b2770566d0affd62ef0d2877fb73b to your computer and use it in GitHub Desktop.
measure4-webpack.prod.conf.js
var
// ...
PreloadWebpackPlugin = require('preload-webpack-plugin'),
// ...
module.exports = merge(baseWebpackConfig, {
// ...
plugins: [
// ...
new PreloadWebpackPlugin({
rel: 'preload',
include: ['manifest', 'vendor', 'quasar', 'used-twice']
}),
// ...
]
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment