diff --git a/lib/css.helper.js b/lib/css.helper.js index f527b34d8d8e900633cf0863f29f30d375c70727..ec91e2e355bcc13a305fa74b30d4f6536abc6434 100644 --- a/lib/css.helper.js +++ b/lib/css.helper.js @@ -271,7 +271,7 @@ ${uniqNames.map(([o, l]) => ` "${o}": ${l}`).join(',\n')} filename: fullpath, cssModules: { dashedIdents: options?.dashedIndents, - pattern: options?.pattern ?? `${opt?.prefix ?? ''}__[local]_[hash]__${opt?.suffix ?? ''}` + pattern: options?.pattern ?? `${opt?.prefix ? `${opt.prefix}__` : ''}[local]_[hash]${opt?.suffix ? `__${opt.suffix}` : ''}` }, drafts: { customMedia: true,