Nuxt/test/fixtures/dll/nuxt.config.js

13 lines
344 B
JavaScript
Raw Normal View History

2017-10-29 10:24:58 +00:00
module.exports = {
build: {
2017-11-20 02:54:37 +00:00
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
}
2017-10-29 10:24:58 +00:00
}
}