feat: update default class names
This commit is contained in:
parent
3243d7c4bf
commit
91dc049c0f
@ -42,8 +42,10 @@ const postCSSPlugin = ({
|
||||
// get a temporary path where we can save compiled CSS
|
||||
const tmpDirPath = tmp.dirSync().name,
|
||||
modulesMap: CSSModule[] = [],
|
||||
pathMap: ModulePath[] = [],
|
||||
modulesPlugin = postcssModules({
|
||||
pathMap: ModulePath[] = [];
|
||||
|
||||
const modulesPlugin = postcssModules({
|
||||
generateScopedName: "[name]__[local]___[hash:base64:5]",
|
||||
...(typeof modules !== "boolean" ? modules : {}),
|
||||
getJSON(filepath, json, outpath) {
|
||||
const tmpFilePath = pathMap.find(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user