Commit 5954195
authored
HACK: Make parceljs ignore the webpack-only require
The `if` surrounding the require of `!raw-loader!./js.py` should be enough to limit the processing of this line only by webpack. However, looks like parceljs is greedy and tries to follow such path. Then it fails for a code path that will never be executed by him.
The code change make parceljs ignore such require. Is not beautiful and should be replaced when parceljs provides something nicer.1 parent 8eadb53 commit 5954195
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments