Skip to content

Commit 8eeaeb7

Browse files
committed
chore: nextjs config
1 parent 233515b commit 8eeaeb7

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

packages/nextjs/rollup.npm.config.mjs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -51,19 +51,13 @@ export default [
5151

5252
packageSpecificConfig: {
5353
output: {
54-
// Preserve the original file structure (i.e., so that everything is still relative to `src`)
55-
entryFileNames: 'config/templates/[name].js',
56-
5754
// this is going to be add-on code, so it doesn't need the trappings of a full module (and in fact actively
5855
// shouldn't have them, lest they muck with the module to which we're adding it)
5956
sourcemap: false,
6057
esModule: false,
6158

6259
// make it so Rollup calms down about the fact that we're combining default and named exports
6360
exports: 'named',
64-
65-
// Don't preserve modules - we're using custom entryFileNames
66-
preserveModules: false,
6761
},
6862
external: [
6963
'@sentry/nextjs',
@@ -81,14 +75,8 @@ export default [
8175

8276
packageSpecificConfig: {
8377
output: {
84-
// Preserve the original file structure (i.e., so that everything is still relative to `src`)
85-
entryFileNames: 'config/loaders/[name].js',
86-
8778
// make it so Rollup calms down about the fact that we're combining default and named exports
8879
exports: 'named',
89-
90-
// Don't preserve modules - we're using custom entryFileNames
91-
preserveModules: false,
9280
},
9381
external: ['@rollup/plugin-commonjs', 'rollup'],
9482
},
@@ -100,14 +88,8 @@ export default [
10088

10189
packageSpecificConfig: {
10290
output: {
103-
// Preserve the original file structure (i.e., so that everything is still relative to `src`)
104-
entryFileNames: 'config/polyfills/[name].js',
105-
10691
// make it so Rollup calms down about the fact that we're combining default and named exports
10792
exports: 'named',
108-
109-
// Don't preserve modules - we're using custom entryFileNames
110-
preserveModules: false,
11193
},
11294
},
11395
}),

0 commit comments

Comments
 (0)