From a9591be9d7b9438c315a980118740aae20144670 Mon Sep 17 00:00:00 2001 From: Andrew Kirwin Date: Wed, 23 Oct 2024 23:38:49 +0100 Subject: [PATCH] error instead of warn for missing exports See https://github.com/webpack/webpack/discussions/14659 --- packages/webpack/src/ember-webpack.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/webpack/src/ember-webpack.ts b/packages/webpack/src/ember-webpack.ts index e7c28ecf7..cafd428dd 100644 --- a/packages/webpack/src/ember-webpack.ts +++ b/packages/webpack/src/ember-webpack.ts @@ -221,6 +221,7 @@ const Webpack: PackagerConstructor = class Webpack implements Packager ], node: false, module: { + strictExportPresence: true, rules: [ { test: /\.hbs$/,