Closed mizdra closed 1 year ago
If you are using webpack.config.js wrapped with tools such as create-react-app or next.js, I have found that approaches like https://github.com/mizdra/happy-css-modules/issues/96#issue-1360911231 don't work.
Perhaps an interface like --webpack-resolve-alias='{"util": "src/util"}'
would be better.
ref: https://webpack.js.org/configuration/resolve/#resolvealias
alias
option for enhanced-resolve.resolve.alias
fromwebpack.config.js
.webpack-cli
's--config
and--name
options inenhanced-typed-css-modules
.--webpack-config
,--webpack-name