Skip to content

Commit a6f3114

Browse files
author
Forest Hoffman
committed
update webpack config
1 parent c0385a6 commit a6f3114

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/server/webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ module.exports = merge(
1414
loader: "string-replace-loader",
1515
options: {
1616
multiple: [{
17-
search: "const Onig(.*) = .*onig_scanner\.node.*\.(.*)",
18-
replace: "const Onig$1 = __non_webpack_require__(global.ONIG_LOCATION).$2;",
17+
search: "const Onig(.*) = .*onig_scanner\.node.*\.Onig(.*)",
18+
replace: "const Onig$1 = __non_webpack_require__(global.ONIG_LOCATION).Onig$2;",
1919
flags: "g",
2020
}],
2121
},

0 commit comments

Comments
 (0)