Skip to content

Commit 368d369

Browse files
committed
Fix global replace '__project_root__' issue.
1 parent 98f3bf7 commit 368d369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/conf/webpack.config.prod.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module.exports = function (cmd) {
3434
loader: require.resolve('string-replace-loader'),
3535
options: {
3636
multiple: [
37-
{ search: '__project_root__', replace: UPATH.normalizeSafe(paths.projectPath) },
37+
{ search: '__project_root__', replace: UPATH.normalizeSafe(paths.projectPath), flags: 'ig' },
3838
],
3939
},
4040
},

0 commit comments

Comments
 (0)