-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
area: @angular-devkit/build-webpackfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix
Milestone
Description
when adding build webpack to an esm Angular project (a project has type: module in package.json and module: ES2022 in tsconfig.json) got the following error
An unhandled exception occurred: Must use import to load ES Module: /home/projects/node-tyenbp/webpack.config.js
require() of ES modules is not supported.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: @angular-devkit/build-webpackfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix