mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-18 10:17:16 +00:00
16 lines
382 B
JavaScript
16 lines
382 B
JavaScript
module.exports = {
|
|
build: {
|
|
stats: false,
|
|
dll: true,
|
|
extend(config, options) {
|
|
if (options.isClient) {
|
|
const dlls = config.plugins.filter(
|
|
plugin => plugin.constructor.name === 'DllReferencePlugin'
|
|
)
|
|
console.log('Using dll for ' + dlls.length + ' libs') // eslint-disable-line no-console
|
|
}
|
|
return config
|
|
}
|
|
}
|
|
}
|