Commit b644e53
committed
minor #39 [Core] Pass resolved options to copyManifest (Kocal)
This PR was merged into the main branch.
Discussion
----------
[Core] Pass resolved options to copyManifest
| Q | A
| -------------- | ---
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Documentation? | no
| Issues | -
| License | MIT
`copyManifest` takes `{ publicPath, manifestKeyPrefix }`, and all three call sites built that object literal from `resolved` verbatim. Since `ResolvedOptions` already carries both fields, this passes `resolved` straight through and drops the repeated literal.
The function signature stays narrow, so it still documents the only two fields it actually reads. No behavior change.
Commits
-------
721d52b [Core] Pass resolved options to copyManifest1 file changed
Lines changed: 3 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
| 85 | + | |
89 | 86 | | |
90 | 87 | | |
91 | 88 | | |
| |||
145 | 142 | | |
146 | 143 | | |
147 | 144 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 145 | + | |
152 | 146 | | |
153 | 147 | | |
154 | 148 | | |
| |||
292 | 286 | | |
293 | 287 | | |
294 | 288 | | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
| 289 | + | |
299 | 290 | | |
300 | 291 | | |
301 | 292 | | |
| |||
0 commit comments