File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,9 @@ export default [
6161
6262 // make it so Rollup calms down about the fact that we're combining default and named exports
6363 exports : 'named' ,
64+
65+ // Don't preserve modules - we're using custom entryFileNames
66+ preserveModules : false ,
6467 } ,
6568 external : [
6669 '@sentry/nextjs' ,
@@ -83,6 +86,9 @@ export default [
8386
8487 // make it so Rollup calms down about the fact that we're combining default and named exports
8588 exports : 'named' ,
89+
90+ // Don't preserve modules - we're using custom entryFileNames
91+ preserveModules : false ,
8692 } ,
8793 external : [ '@rollup/plugin-commonjs' , 'rollup' ] ,
8894 } ,
@@ -99,6 +105,9 @@ export default [
99105
100106 // make it so Rollup calms down about the fact that we're combining default and named exports
101107 exports : 'named' ,
108+
109+ // Don't preserve modules - we're using custom entryFileNames
110+ preserveModules : false ,
102111 } ,
103112 } ,
104113 } ) ,
You can’t perform that action at this time.
0 commit comments