Skip to content

Commit 826eee3

Browse files
committed
fix: webpack plugin fails on hot-loader/react-dom, fixes ##1234
1 parent 4811d57 commit 826eee3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/webpack/patch.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function transform(source) {
108108
}
109109
if (source.indexOf(sign) >= 0) {
110110
// already patched
111-
return;
111+
return source;
112112
}
113113
for (const key in injectionStart) {
114114
if (source.indexOf(injectionStart[key][0]) > 0 && source.indexOf(injectionEnd[key][0]) > 0) {

0 commit comments

Comments
 (0)