Skip to content

Commit 54588fa

Browse files
committed
feat: enable transformMixedEsModules in commonjs plugin
1 parent 8783e7e commit 54588fa

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/main.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,9 @@ export function createPlugins(
240240
}),
241241

242242
// so Rollup can convert externals to an ES module
243-
commonjs(),
243+
commonjs({
244+
transformMixedEsModules: true
245+
}),
244246
]
245247

246248
plugins.push(...pluginsCommon)

0 commit comments

Comments
 (0)