| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0dee86f commit c61597f
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -323,6 +323,30 @@ Currently the support for run-time snapshot is experimental in that: | |||
| 323 | 323 | a report in the [Node.js issue tracker][] and link to it in the | |
| 324 | 324 | [tracking issue for user-land snapshots][]. | |
| 325 | 325 | ||
| 326 | + ### `--build-snapshot-config` | ||
| 327 | + | ||
| 328 | + <!-- YAML | ||
| 329 | + added: REPLACEME | ||
| 330 | + --> | ||
| 331 | + | ||
| 332 | + > Stability: 1 - Experimental | ||
| 333 | + | ||
| 334 | + Specifies the path to a JSON configuration file which configures snapshot | ||
| 335 | + creation behavior. | ||
| 336 | + | ||
| 337 | + The following options are currently supported: | ||
| 338 | + | ||
| 339 | + * `builder` {string} Required. Provides the name to the script that is executed | ||
| 340 | + before building the snapshot, as if [`--build-snapshot`][] had been passed | ||
| 341 | + with `builder` as the main script name. | ||
| 342 | + * `withoutCodeCache` {boolean} Optional. Including the code cache reduces the | ||
| 343 | + time spent on compiling functions included in the snapshot at the expense | ||
| 344 | + of a bigger snapshot size and potentially breaking portability of the | ||
| 345 | + snapshot. | ||
| 346 | + | ||
| 347 | + When using this flag, additional script files provided on the command line will | ||
| 348 | + not be executed and instead be interpreted as regular command line arguments. | ||
| 349 | + | ||
| 326 | 350 | ### `-c`, `--check` | |
| 327 | 351 | ||
| 328 | 352 | <!-- YAML | |
@@ -2833,6 +2857,7 @@ done | |||
| 2833 | 2857 | [`--allow-fs-read`]: #--allow-fs-read | |
| 2834 | 2858 | [`--allow-fs-write`]: #--allow-fs-write | |
| 2835 | 2859 | [`--allow-worker`]: #--allow-worker | |
| 2860 | + [`--build-snapshot`]: #--build-snapshot | ||
| 2836 | 2861 | [`--cpu-prof-dir`]: #--cpu-prof-dir | |
| 2837 | 2862 | [`--diagnostic-dir`]: #--diagnostic-dirdirectory | |
| 2838 | 2863 | [`--experimental-default-type=module`]: #--experimental-default-typetype | |
| Back | FazBrowse Home | New Git URL |
0 commit comments