Commit 7e4e8bc
committed
Relative paths for require
Now we can use relative paths in the calls to `require`, so those
using relative builds don't have to worry about modules not being
imported properly. This also makes it considerably easier in the
future when we look to cut down the build sizes and have a custom
builder, as we don't have to worry as much about the paths being
incorrect.
This fixes select2#3014 finally.1 parent d1e8a6f commit 7e4e8bc
5 files changed
Lines changed: 21 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4200 | 4200 | | |
4201 | 4201 | | |
4202 | 4202 | | |
| 4203 | + | |
4203 | 4204 | | |
4204 | 4205 | | |
4205 | 4206 | | |
| |||
4232 | 4233 | | |
4233 | 4234 | | |
4234 | 4235 | | |
4235 | | - | |
| 4236 | + | |
| 4237 | + | |
| 4238 | + | |
4236 | 4239 | | |
4237 | 4240 | | |
4238 | 4241 | | |
| |||
4515 | 4518 | | |
4516 | 4519 | | |
4517 | 4520 | | |
4518 | | - | |
4519 | | - | |
| 4521 | + | |
| 4522 | + | |
4520 | 4523 | | |
4521 | 4524 | | |
4522 | 4525 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4200 | 4200 | | |
4201 | 4201 | | |
4202 | 4202 | | |
| 4203 | + | |
4203 | 4204 | | |
4204 | 4205 | | |
4205 | 4206 | | |
| |||
4232 | 4233 | | |
4233 | 4234 | | |
4234 | 4235 | | |
4235 | | - | |
| 4236 | + | |
| 4237 | + | |
| 4238 | + | |
4236 | 4239 | | |
4237 | 4240 | | |
4238 | 4241 | | |
| |||
4515 | 4518 | | |
4516 | 4519 | | |
4517 | 4520 | | |
4518 | | - | |
4519 | | - | |
| 4521 | + | |
| 4522 | + | |
4520 | 4523 | | |
4521 | 4524 | | |
4522 | 4525 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
35 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
| |||
315 | 319 | | |
316 | 320 | | |
317 | 321 | | |
318 | | - | |
319 | | - | |
| 322 | + | |
| 323 | + | |
320 | 324 | | |
321 | 325 | | |
322 | 326 | | |
| |||
0 commit comments