Commit 99cf930
authored
docs: add sourceImport experiment feature (#8157)
* docs: add sourceImport experiment feature
* docs(experiments): clarify sourceImport scope (WASM-only) and add usage example
Address review feedback on #8157: the current 5.106 implementation of
experiments.sourceImport is WebAssembly-only, but the docs as written
suggested generic source-phase support for any module. Updates the
section to:
- State explicitly that the current implementation targets WASM and
that JavaScript source imports are planned for a future release.
- Add a short usage example with the static (import source ...) and
dynamic (import.source(...)) syntax for a .wasm import.
- Link to the wasm-simple-source-phase example in the webpack repo.
Also moves the version badge directly under the heading to match the
style of other experiment sections.1 parent f992f03 commit 99cf930
1 file changed
Lines changed: 39 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
278 | 280 | | |
279 | 281 | | |
280 | 282 | | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
281 | 320 | | |
282 | 321 | | |
283 | 322 | | |
| |||
0 commit comments