From d3af2e68675df38f9d69661a91bb988d6b74dd54 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Fri, 23 Dec 2016 00:40:41 +0200 Subject: [PATCH] Fix minor issue in webpack dev config --- build/webpack.dev.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/webpack.dev.js b/build/webpack.dev.js index e7b24293..ca8cf7c7 100644 --- a/build/webpack.dev.js +++ b/build/webpack.dev.js @@ -75,13 +75,13 @@ module.exports = { loader: StringReplacePlugin.replace({ replacements: [ { - pattern: /styleUrls:\s*\[\s*'([\w\.\/-]*)\.css'\s*\][\s,]*$/m, + pattern: /styleUrls:\s*\[\s*'([\w\.\/-]*)\.css'\s*\][\s,]*$/gm, replacement: function (match, p1, offset, string) { return `styleUrls: ['${p1}.scss'],`; } }, { - pattern: /(\.\/components\/Redoc\/redoc-initial-styles\.css)/m, + pattern: /(\.\/components\/Redoc\/redoc-initial-styles\.css)/gm, replacement: function (match, p1, offset, string) { return p1.replace('.css', '.scss'); }