fix(nitro) set requireReturnsDefault to auto (#131)

This commit is contained in:
Alexander Lichter 2021-04-29 15:00:31 +02:00 committed by GitHub
parent 145d922fd4
commit 520f48a9d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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