Skip to content

Commit f51ad74

Browse files
committed
Fix CommonJS imports after Rollup upgrade
1 parent 909c6da commit f51ad74

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

scripts/rollup/build.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,16 @@ let getRollupInteropValue = id => {
182182
// Specifying `interop: 'default'` instead will have Rollup use the imported variable as-is,
183183
// without adding a `.default` to the reference.
184184
const modulesWithCommonJsExports = [
185-
'JSResourceReferenceImpl',
186-
'error-stack-parser',
187185
'art/core/transform',
188186
'art/modes/current',
189187
'art/modes/fast-noSideEffects',
190188
'art/modes/svg',
189+
'JSResourceReferenceImpl',
190+
'error-stack-parser',
191+
'neo-async',
192+
'webpack/lib/dependencies/ModuleDependency',
193+
'webpack/lib/dependencies/NullDependency',
194+
'webpack/lib/Template',
191195
];
192196

193197
if (modulesWithCommonJsExports.includes(id)) {

0 commit comments

Comments
 (0)