rsnext/test/integration/next-dynamic-lazy-compilation/next.config.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
165 B
JavaScript
Raw Normal View History

module.exports = {
webpack(config, { isServer, dev }) {
if (!isServer && dev) {
config.experiments.lazyCompilation = true
}
return config
},
}