Use readable css names in docz dev

This commit is contained in:
Chi Vinh Le
2018-07-16 16:25:20 -03:00
parent 524994d139
commit b34b9e5986
2 changed files with 7 additions and 1 deletions
+3 -1
View File
@@ -42,7 +42,9 @@ const config: Config = {
},
runDocz: {
paths: [],
executor: new LongRunningExecutor("npm run docz -- dev"),
executor: new LongRunningExecutor(
"NODE_ENV=development npm run docz -- dev"
),
},
},
defaultSet: "client",
+4
View File
@@ -25,6 +25,10 @@ export default {
options: {
modules: true,
importLoaders: 1,
localIdentName:
process.env.NODE_ENV === "production"
? "[hash:base64]"
: "[name]-[local]-[hash:base64:5]",
},
},
{