fix(loaders): fix css modules

This commit is contained in:
Sergey Krylov 2024-04-03 06:25:40 +03:00
parent 93159ec92f
commit 506c929141

View File

@ -40,6 +40,7 @@ const getCssLoader = (options: WebpackOptions): webpack.RuleSetRule => {
sourceMap: isDev,
...cssLoader,
modules: {
auto: true,
localIdentName: '[local]--[hash:5]',
// @ts-ignore
...cssLoader?.modules,