Skip to content

Commit

Permalink
error instead of warn for missing exports
Browse files Browse the repository at this point in the history
  • Loading branch information
amk221 committed Oct 23, 2024
1 parent 81af886 commit 85f2a3d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/webpack/src/ember-webpack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,11 @@ const Webpack: PackagerConstructor<Options> = class Webpack implements Packager
},
],
},
parser: {
javascript: {
exportsPresence: 'error',
},
},
output: {
path: join(this.outputPath),
filename: `assets/chunk.[chunkhash].js`,
Expand Down

0 comments on commit 85f2a3d

Please sign in to comment.