fix(loaders): fix css modules

This commit is contained in:
Sergey Krylov 2024-04-03 06:25:40 +03:00 committed by ksv741
parent 0a759e6398
commit bfb61db6a8

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,