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.
when adding build webpack to an esm Angular project (a project has
type: modulein package.json andmodule: ES2022in tsconfig.json) got the following error