mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +00:00
parent
f028719e7a
commit
c9ed8bc341
@ -274,6 +274,7 @@ export const getRollupConfig = (nitroContext: NitroContext) => {
|
||||
|
||||
// https://github.com/rollup/plugins/tree/master/packages/commonjs
|
||||
rollupConfig.plugins.push(commonjs({
|
||||
esmExternals: id => !id.startsWith('unenv/'),
|
||||
requireReturnsDefault: 'auto'
|
||||
}))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user