From bac7192788d35e6304f19e8fde935e372c3e22bb Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 15 Feb 2018 20:00:23 +0900 Subject: [PATCH] wip --- webpack/module/rules/theme-color.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/webpack/module/rules/theme-color.ts b/webpack/module/rules/theme-color.ts index 14f5457bf3..4828e00ec7 100644 --- a/webpack/module/rules/theme-color.ts +++ b/webpack/module/rules/theme-color.ts @@ -8,13 +8,14 @@ export default () => ({ enforce: 'pre', test: /\.vue$/, exclude: /node_modules/, - use: [/*{ + use: [{ loader: 'replace-string-loader', options: { - search: /\$theme\-color\-foreground/g, - replace: constants.themeColorForeground + search: '$theme-color-foreground', + replace: constants.themeColorForeground, + flags: 'g' } - }, */{ + }, { loader: 'replace-string-loader', options: { search: '$theme-color',