mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 06:35:10 +00:00
fffe741986
Add stdout/stderr to console helpers Remove separate nosubfolders test file in favor of inclusion in basic.generate Add build.stats to silence webpack output Add .always to after hooks: (1) fixes issue with basic.dev test that watch.js is empty when one of the test fails and (2) fixes that sometimes when running multiple tests that failed after eachother the port is still used as the server did not automatically get killed Change all init nuxt before test to serial tests and add tests for DONE and OPEN logs
14 lines
362 B
JavaScript
14 lines
362 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
|
|
}
|
|
}
|
|
}
|