mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 23:32:38 +00:00
fix(nitro) set requireReturnsDefault to auto (#131)
This commit is contained in:
parent
145d922fd4
commit
520f48a9d2
@ -250,7 +250,7 @@ export const getRollupConfig = (nitroContext: NitroContext) => {
|
||||
|
||||
// https://github.com/rollup/plugins/tree/master/packages/commonjs
|
||||
rollupConfig.plugins.push(commonjs({
|
||||
requireReturnsDefault: true
|
||||
requireReturnsDefault: 'auto'
|
||||
}))
|
||||
|
||||
// https://github.com/rollup/plugins/tree/master/packages/json
|
||||
|
Loading…
Reference in New Issue
Block a user