Commit 4445898
committed
Add custom copy plugin for esbuild
Introduces a new copy plugin in build/plugins/copy.ts and integrates it into the esbuild build process. This refactors asset handling by replacing the previous loader-based approach with a plugin, simplifying configuration and improving maintainability.1 parent 07b5c21 commit 4445898
2 files changed
+22
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 14 | | |
31 | 15 | | |
32 | 16 | | |
33 | 17 | | |
34 | | - | |
35 | 18 | | |
36 | 19 | | |
37 | 20 | | |
38 | 21 | | |
39 | | - | |
40 | 22 | | |
41 | 23 | | |
42 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
43 | 28 | | |
44 | 29 | | |
45 | 30 | | |
| |||
59 | 44 | | |
60 | 45 | | |
61 | 46 | | |
62 | | - | |
| 47 | + | |
| 48 | + | |
63 | 49 | | |
64 | 50 | | |
65 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
0 commit comments