@voidzero-dev/vite-plus-core 1.0.0-rc.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +29 -176
- package/dist/rolldown/cli.mjs +9 -8
- package/dist/rolldown/config.d.mts +1 -1
- package/dist/rolldown/config.mjs +2 -2
- package/dist/rolldown/experimental-index.d.mts +4 -4
- package/dist/rolldown/experimental-index.mjs +8 -8
- package/dist/rolldown/experimental-runtime-types.d.ts +25 -6
- package/dist/rolldown/experimental-runtime.d.ts +25 -6
- package/dist/rolldown/experimental-runtime.mjs +267 -255
- package/dist/rolldown/filter-index.d.mts +1 -1
- package/dist/rolldown/index.d.mts +3 -3
- package/dist/rolldown/index.mjs +4 -4
- package/dist/rolldown/parallel-plugin-worker.mjs +2 -2
- package/dist/rolldown/parallel-plugin.d.mts +1 -1
- package/dist/rolldown/parse-ast-index.d.mts +1 -1
- package/dist/rolldown/parse-ast-index.mjs +1 -1
- package/dist/rolldown/plugins-index.d.mts +3 -3
- package/dist/rolldown/plugins-index.mjs +2 -2
- package/dist/rolldown/shared/{binding-BY0qR5iS.mjs → binding-B4m_2rFW.mjs} +27 -28
- package/dist/rolldown/shared/{binding-BTa6BPQe.d.mts → binding-tzp6Hc_3.d.mts} +1 -1
- package/dist/rolldown/shared/{bindingify-input-options-B8JHmN6_.mjs → bindingify-input-options-YtcpaV3r.mjs} +196 -13
- package/dist/rolldown/shared/{constructors-DuOq7MqW.d.mts → constructors-CGQ9ItSV.d.mts} +2 -2
- package/dist/rolldown/shared/{constructors-xEvVj3lN.mjs → constructors-DDRbtWM1.mjs} +1 -1
- package/dist/rolldown/shared/{create-bundler-option-COco-7P6.mjs → create-bundler-option-CFtx335R.mjs} +17 -8
- package/dist/rolldown/shared/{define-config-C7HCoqY8.d.mts → define-config-kIZKjX8Q.d.mts} +72 -2
- package/dist/rolldown/shared/{error-C7pxws0W.mjs → error-Bj1xBdEY.mjs} +2 -1
- package/dist/rolldown/shared/{load-config-DkUBnDsI.mjs → load-config-CiFPv7UH.mjs} +2 -2
- package/dist/rolldown/shared/{normalize-string-or-regex-F14uvr6D.mjs → normalize-string-or-regex-xyy0kCQR.mjs} +1 -1
- package/dist/rolldown/shared/{parse-BWeE7Vr9.mjs → parse-Zii6QoPp.mjs} +2 -2
- package/dist/rolldown/shared/{resolve-tsconfig-DHwpIs5e.mjs → resolve-tsconfig-DRWFAQ3v.mjs} +2 -2
- package/dist/rolldown/shared/{rolldown-Bue0gNT5.mjs → rolldown-BCQsxZbq.mjs} +4 -4
- package/dist/rolldown/shared/{transform-DK_nCt9j.d.mts → transform-D4RDjIPI.d.mts} +1 -1
- package/dist/rolldown/shared/{watch-RXhXN1aG.mjs → watch-CXhrnblH.mjs} +4 -4
- package/dist/rolldown/utils-index.d.mts +3 -3
- package/dist/rolldown/utils-index.mjs +5 -5
- package/dist/tsdown/{build-JVmLFaZt-DRlLhpV3.js → build-JVmLFaZt-k6Y-YuG9.js} +8 -8
- package/dist/tsdown/{debug-CpC4hV25-C-OYr2iI.js → debug-CpC4hV25-D_60QWpz.js} +2 -2
- package/dist/tsdown/{detect-Bg-d8iUV-Du8LljhG.js → detect-Bg-d8iUV--_V5C4Db.js} +1 -1
- package/dist/tsdown/{dist-VDcV1Qyy.js → dist-DquISSoY.js} +8 -8
- package/dist/tsdown/index-types.d.ts +5 -5
- package/dist/tsdown/index.js +4 -4
- package/dist/tsdown/{require-BbBF8Ii0-BDaWJgzA.js → require-BbBF8Ii0-S6Y65RhW.js} +1 -1
- package/dist/tsdown/{resolver-DE0_sy8o-Bi3xbRxi.js → resolver-DE0_sy8o-Pz8aksn9.js} +2 -2
- package/dist/tsdown/run.js +3 -3
- package/dist/tsdown/{target-DgdLrXba-DpO9JXxB.js → target-DgdLrXba-BygiKCU8.js} +3 -3
- package/dist/tsdown/{tsc-BLb4pSBY.js → tsc-2xhsE0Bf.js} +4 -4
- package/dist/tsdown/tsdown-css.js +1 -1
- package/dist/tsdown/tsdown-exe.js +3 -3
- package/dist/tsdown/{version-CQ98ZBpL-D6GAHapk.js → version-CQ98ZBpL-CKvh-HCu.js} +1 -1
- package/dist/vite/client/bundledDevClient.mjs +75 -329
- package/dist/vite/client/client.mjs +74 -23
- package/dist/vite/node/chunks/node.js +883 -666
- package/dist/vite/node/index.d.ts +3 -1
- package/dist/vite/node/module-runner.js +16 -2
- package/package.json +38 -21
- package/dist/rolldown/experimental-default-runtime.mjs +0 -116
- package/dist/rolldown/experimental-runtime-base.mjs +0 -95
package/LICENSE
CHANGED
|
@@ -786,35 +786,6 @@ Repository: https://github.com/expressjs/cors
|
|
|
786
786
|
|
|
787
787
|
---------------------------------------
|
|
788
788
|
|
|
789
|
-
## cross-spawn
|
|
790
|
-
License: MIT
|
|
791
|
-
By: André Cruz <andre@moxy.studio>
|
|
792
|
-
Repository: https://github.com/moxystudio/node-cross-spawn
|
|
793
|
-
|
|
794
|
-
> The MIT License (MIT)
|
|
795
|
-
>
|
|
796
|
-
> Copyright (c) 2018 Made With MOXY Lda <hello@moxy.studio>
|
|
797
|
-
>
|
|
798
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
799
|
-
> of this software and associated documentation files (the "Software"), to deal
|
|
800
|
-
> in the Software without restriction, including without limitation the rights
|
|
801
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
802
|
-
> copies of the Software, and to permit persons to whom the Software is
|
|
803
|
-
> furnished to do so, subject to the following conditions:
|
|
804
|
-
>
|
|
805
|
-
> The above copyright notice and this permission notice shall be included in
|
|
806
|
-
> all copies or substantial portions of the Software.
|
|
807
|
-
>
|
|
808
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
809
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
810
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
811
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
812
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
813
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
814
|
-
> THE SOFTWARE.
|
|
815
|
-
|
|
816
|
-
---------------------------------------
|
|
817
|
-
|
|
818
789
|
## cssesc
|
|
819
790
|
License: MIT
|
|
820
791
|
By: Mathias Bynens
|
|
@@ -1434,33 +1405,6 @@ Repository: https://github.com/micromatch/is-glob
|
|
|
1434
1405
|
|
|
1435
1406
|
---------------------------------------
|
|
1436
1407
|
|
|
1437
|
-
## isexe, which
|
|
1438
|
-
License: ISC
|
|
1439
|
-
By: Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)
|
|
1440
|
-
Repository: https://github.com/isaacs/isexe
|
|
1441
|
-
|
|
1442
|
-
License: ISC
|
|
1443
|
-
By: Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)
|
|
1444
|
-
Repository: https://github.com/isaacs/node-which
|
|
1445
|
-
|
|
1446
|
-
> The ISC License
|
|
1447
|
-
>
|
|
1448
|
-
> Copyright (c) Isaac Z. Schlueter and Contributors
|
|
1449
|
-
>
|
|
1450
|
-
> Permission to use, copy, modify, and/or distribute this software for any
|
|
1451
|
-
> purpose with or without fee is hereby granted, provided that the above
|
|
1452
|
-
> copyright notice and this permission notice appear in all copies.
|
|
1453
|
-
>
|
|
1454
|
-
> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
1455
|
-
> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
1456
|
-
> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
1457
|
-
> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
1458
|
-
> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
1459
|
-
> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
1460
|
-
> IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
1461
|
-
|
|
1462
|
-
---------------------------------------
|
|
1463
|
-
|
|
1464
1408
|
## js-tokens
|
|
1465
1409
|
License: MIT
|
|
1466
1410
|
By: Simon Lydell
|
|
@@ -1939,23 +1883,6 @@ Repository: https://github.com/pillarjs/parseurl
|
|
|
1939
1883
|
|
|
1940
1884
|
---------------------------------------
|
|
1941
1885
|
|
|
1942
|
-
## path-key, shebang-regex
|
|
1943
|
-
License: MIT
|
|
1944
|
-
By: Sindre Sorhus
|
|
1945
|
-
Repositories: https://github.com/sindresorhus/path-key, https://github.com/sindresorhus/shebang-regex
|
|
1946
|
-
|
|
1947
|
-
> MIT License
|
|
1948
|
-
>
|
|
1949
|
-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
1950
|
-
>
|
|
1951
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
1952
|
-
>
|
|
1953
|
-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
1954
|
-
>
|
|
1955
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1956
|
-
|
|
1957
|
-
---------------------------------------
|
|
1958
|
-
|
|
1959
1886
|
## pathe
|
|
1960
1887
|
License: MIT
|
|
1961
1888
|
Repository: https://github.com/unjs/pathe
|
|
@@ -2468,23 +2395,6 @@ Repository: https://github.com/rolldown/rolldown
|
|
|
2468
2395
|
|
|
2469
2396
|
---------------------------------------
|
|
2470
2397
|
|
|
2471
|
-
## shebang-command
|
|
2472
|
-
License: MIT
|
|
2473
|
-
By: Kevin Mårtensson
|
|
2474
|
-
Repository: https://github.com/kevva/shebang-command
|
|
2475
|
-
|
|
2476
|
-
> MIT License
|
|
2477
|
-
>
|
|
2478
|
-
> Copyright (c) Kevin Mårtensson <kevinmartensson@gmail.com> (github.com/kevva)
|
|
2479
|
-
>
|
|
2480
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
2481
|
-
>
|
|
2482
|
-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
2483
|
-
>
|
|
2484
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
2485
|
-
|
|
2486
|
-
---------------------------------------
|
|
2487
|
-
|
|
2488
2398
|
## shell-quote
|
|
2489
2399
|
License: MIT
|
|
2490
2400
|
By: James Halliday
|
|
@@ -3589,35 +3499,6 @@ Repository: https://github.com/vitejs/vite
|
|
|
3589
3499
|
>
|
|
3590
3500
|
> ---------------------------------------
|
|
3591
3501
|
>
|
|
3592
|
-
> ## cross-spawn
|
|
3593
|
-
> License: MIT
|
|
3594
|
-
> By: André Cruz
|
|
3595
|
-
> Repository: https://github.com/moxystudio/node-cross-spawn
|
|
3596
|
-
>
|
|
3597
|
-
> > The MIT License (MIT)
|
|
3598
|
-
> >
|
|
3599
|
-
> > Copyright (c) 2018 Made With MOXY Lda <hello@moxy.studio>
|
|
3600
|
-
> >
|
|
3601
|
-
> > Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
3602
|
-
> > of this software and associated documentation files (the "Software"), to deal
|
|
3603
|
-
> > in the Software without restriction, including without limitation the rights
|
|
3604
|
-
> > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
3605
|
-
> > copies of the Software, and to permit persons to whom the Software is
|
|
3606
|
-
> > furnished to do so, subject to the following conditions:
|
|
3607
|
-
> >
|
|
3608
|
-
> > The above copyright notice and this permission notice shall be included in
|
|
3609
|
-
> > all copies or substantial portions of the Software.
|
|
3610
|
-
> >
|
|
3611
|
-
> > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
3612
|
-
> > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
3613
|
-
> > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
3614
|
-
> > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
3615
|
-
> > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
3616
|
-
> > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
3617
|
-
> > THE SOFTWARE.
|
|
3618
|
-
>
|
|
3619
|
-
> ---------------------------------------
|
|
3620
|
-
>
|
|
3621
3502
|
> ## cssesc
|
|
3622
3503
|
> License: MIT
|
|
3623
3504
|
> By: Mathias Bynens
|
|
@@ -4141,29 +4022,6 @@ Repository: https://github.com/vitejs/vite
|
|
|
4141
4022
|
>
|
|
4142
4023
|
> ---------------------------------------
|
|
4143
4024
|
>
|
|
4144
|
-
> ## isexe, which
|
|
4145
|
-
> License: ISC
|
|
4146
|
-
> By: Isaac Z. Schlueter
|
|
4147
|
-
> Repositories: https://github.com/isaacs/isexe, https://github.com/isaacs/node-which
|
|
4148
|
-
>
|
|
4149
|
-
> > The ISC License
|
|
4150
|
-
> >
|
|
4151
|
-
> > Copyright (c) Isaac Z. Schlueter and Contributors
|
|
4152
|
-
> >
|
|
4153
|
-
> > Permission to use, copy, modify, and/or distribute this software for any
|
|
4154
|
-
> > purpose with or without fee is hereby granted, provided that the above
|
|
4155
|
-
> > copyright notice and this permission notice appear in all copies.
|
|
4156
|
-
> >
|
|
4157
|
-
> > THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
4158
|
-
> > WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
4159
|
-
> > MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
4160
|
-
> > ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
4161
|
-
> > WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
4162
|
-
> > ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
4163
|
-
> > IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
4164
|
-
>
|
|
4165
|
-
> ---------------------------------------
|
|
4166
|
-
>
|
|
4167
4025
|
> ## js-tokens
|
|
4168
4026
|
> License: MIT
|
|
4169
4027
|
> By: Simon Lydell
|
|
@@ -4584,23 +4442,6 @@ Repository: https://github.com/vitejs/vite
|
|
|
4584
4442
|
>
|
|
4585
4443
|
> ---------------------------------------
|
|
4586
4444
|
>
|
|
4587
|
-
> ## path-key, shebang-regex
|
|
4588
|
-
> License: MIT
|
|
4589
|
-
> By: Sindre Sorhus
|
|
4590
|
-
> Repositories: https://github.com/sindresorhus/path-key, https://github.com/sindresorhus/shebang-regex
|
|
4591
|
-
>
|
|
4592
|
-
> > MIT License
|
|
4593
|
-
> >
|
|
4594
|
-
> > Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
4595
|
-
> >
|
|
4596
|
-
> > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4597
|
-
> >
|
|
4598
|
-
> > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
4599
|
-
> >
|
|
4600
|
-
> > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
4601
|
-
>
|
|
4602
|
-
> ---------------------------------------
|
|
4603
|
-
>
|
|
4604
4445
|
> ## periscopic
|
|
4605
4446
|
> License: MIT
|
|
4606
4447
|
> Repository: https://github.com/Rich-Harris/periscopic
|
|
@@ -4911,23 +4752,6 @@ Repository: https://github.com/vitejs/vite
|
|
|
4911
4752
|
>
|
|
4912
4753
|
> ---------------------------------------
|
|
4913
4754
|
>
|
|
4914
|
-
> ## shebang-command
|
|
4915
|
-
> License: MIT
|
|
4916
|
-
> By: Kevin Mårtensson
|
|
4917
|
-
> Repository: https://github.com/kevva/shebang-command
|
|
4918
|
-
>
|
|
4919
|
-
> > MIT License
|
|
4920
|
-
> >
|
|
4921
|
-
> > Copyright (c) Kevin Mårtensson <kevinmartensson@gmail.com> (github.com/kevva)
|
|
4922
|
-
> >
|
|
4923
|
-
> > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4924
|
-
> >
|
|
4925
|
-
> > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
4926
|
-
> >
|
|
4927
|
-
> > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
4928
|
-
>
|
|
4929
|
-
> ---------------------------------------
|
|
4930
|
-
>
|
|
4931
4755
|
> ## shell-quote
|
|
4932
4756
|
> License: MIT
|
|
4933
4757
|
> By: James Halliday
|
|
@@ -5033,6 +4857,35 @@ Repository: https://github.com/vitejs/vite
|
|
|
5033
4857
|
>
|
|
5034
4858
|
> ---------------------------------------
|
|
5035
4859
|
>
|
|
4860
|
+
> ## tinyexec
|
|
4861
|
+
> License: MIT
|
|
4862
|
+
> By: James Garbutt
|
|
4863
|
+
> Repository: https://github.com/tinylibs/tinyexec
|
|
4864
|
+
>
|
|
4865
|
+
> > MIT License
|
|
4866
|
+
> >
|
|
4867
|
+
> > Copyright (c) 2024 Tinylibs
|
|
4868
|
+
> >
|
|
4869
|
+
> > Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4870
|
+
> > of this software and associated documentation files (the "Software"), to deal
|
|
4871
|
+
> > in the Software without restriction, including without limitation the rights
|
|
4872
|
+
> > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
4873
|
+
> > copies of the Software, and to permit persons to whom the Software is
|
|
4874
|
+
> > furnished to do so, subject to the following conditions:
|
|
4875
|
+
> >
|
|
4876
|
+
> > The above copyright notice and this permission notice shall be included in all
|
|
4877
|
+
> > copies or substantial portions of the Software.
|
|
4878
|
+
> >
|
|
4879
|
+
> > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
4880
|
+
> > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
4881
|
+
> > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
4882
|
+
> > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
4883
|
+
> > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
4884
|
+
> > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
4885
|
+
> > SOFTWARE.
|
|
4886
|
+
>
|
|
4887
|
+
> ---------------------------------------
|
|
4888
|
+
>
|
|
5036
4889
|
> ## to-regex-range
|
|
5037
4890
|
> License: MIT
|
|
5038
4891
|
> By: Jon Schlinkert, Rouven Weßling
|
package/dist/rolldown/cli.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as onExit, t as watch } from "./shared/watch-
|
|
2
|
-
import { D as version, E as
|
|
1
|
+
import { n as onExit, t as watch } from "./shared/watch-CXhrnblH.mjs";
|
|
2
|
+
import { D as version$1, E as package_default } from "./shared/bindingify-input-options-YtcpaV3r.mjs";
|
|
3
3
|
import { t as arraify } from "./shared/misc-DOSKtd97.mjs";
|
|
4
|
-
import { a as getOutputCliKeys, c as styleText, i as getInputCliKeys, n as logger, o as validateCliOptions, r as getCliSchemaInfo } from "./shared/create-bundler-option-
|
|
5
|
-
import { t as rolldown } from "./shared/rolldown-
|
|
6
|
-
import { t as loadConfig } from "./shared/load-config-
|
|
4
|
+
import { a as getOutputCliKeys, c as styleText, i as getInputCliKeys, n as logger, o as validateCliOptions, r as getCliSchemaInfo } from "./shared/create-bundler-option-CFtx335R.mjs";
|
|
5
|
+
import { t as rolldown } from "./shared/rolldown-BCQsxZbq.mjs";
|
|
6
|
+
import { t as loadConfig } from "./shared/load-config-CiFPv7UH.mjs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import g$1 from "node:process";
|
|
9
9
|
import { performance } from "node:perf_hooks";
|
|
@@ -866,7 +866,7 @@ function getClearScreenFunction(options) {
|
|
|
866
866
|
};
|
|
867
867
|
}
|
|
868
868
|
//#endregion
|
|
869
|
-
//#region \0@oxc-project+runtime@0.
|
|
869
|
+
//#region \0@oxc-project+runtime@0.152.0/helpers/esm/usingCtx.js
|
|
870
870
|
function _usingCtx() {
|
|
871
871
|
var r = "function" == typeof SuppressedError ? SuppressedError : function(r, e) {
|
|
872
872
|
var n = Error();
|
|
@@ -1031,7 +1031,7 @@ async function bundleInner(config, cliOptions) {
|
|
|
1031
1031
|
result.forEach(printBundleOutputPretty);
|
|
1032
1032
|
logger.log(``);
|
|
1033
1033
|
const duration = performance.now() - startTime;
|
|
1034
|
-
logger.success(`rolldown v${version} Finished in ${styleText("green", ms(duration))}`);
|
|
1034
|
+
logger.success(`rolldown v${version$1} Finished in ${styleText("green", ms(duration))}`);
|
|
1035
1035
|
}
|
|
1036
1036
|
function printBundleOutputPretty(output) {
|
|
1037
1037
|
const outputEntries = collectOutputEntries(output.output);
|
|
@@ -1098,6 +1098,7 @@ function relativeId(id) {
|
|
|
1098
1098
|
}
|
|
1099
1099
|
//#endregion
|
|
1100
1100
|
//#region src/cli/commands/help.ts
|
|
1101
|
+
const { description, version } = package_default;
|
|
1101
1102
|
const examples = [
|
|
1102
1103
|
{
|
|
1103
1104
|
title: "Bundle with a config file `rolldown.config.mjs`",
|
|
@@ -1187,7 +1188,7 @@ async function main() {
|
|
|
1187
1188
|
return;
|
|
1188
1189
|
}
|
|
1189
1190
|
if (cliOptions.version) {
|
|
1190
|
-
logger.log(`rolldown v${version}`);
|
|
1191
|
+
logger.log(`rolldown v${version$1}`);
|
|
1191
1192
|
return;
|
|
1192
1193
|
}
|
|
1193
1194
|
if (cliOptions.config || cliOptions.config === "") {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as VERSION, r as defineConfig, t as ConfigExport } from "./shared/define-config-
|
|
1
|
+
import { R as VERSION, r as defineConfig, t as ConfigExport } from "./shared/define-config-kIZKjX8Q.mjs";
|
|
2
2
|
//#region src/utils/load-config.d.ts
|
|
3
3
|
type ConfigLoader = "bundle" | "native";
|
|
4
4
|
interface LoadConfigOptions {
|
package/dist/rolldown/config.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as VERSION } from "./shared/bindingify-input-options-
|
|
1
|
+
import { T as VERSION } from "./shared/bindingify-input-options-YtcpaV3r.mjs";
|
|
2
2
|
import { t as defineConfig } from "./shared/define-config-Demdg3_4.mjs";
|
|
3
|
-
import { t as loadConfig } from "./shared/load-config-
|
|
3
|
+
import { t as loadConfig } from "./shared/load-config-CiFPv7UH.mjs";
|
|
4
4
|
export { VERSION, defineConfig, loadConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { $ as resetNativeMemoryStats, B as NapiResolveOptions, E as BindingViteManifestPluginConfig, F as IsolatedDeclarationsResult, G as ResolverFactory, P as IsolatedDeclarationsOptions, Q as moduleRunnerTransform, W as ResolveResult, X as isolatedDeclaration, Y as getNativeMemoryStats, Z as isolatedDeclarationSync, b as BindingTsconfigRawOptions, f as BindingModuleInfo, h as BindingRebuildStrategy, i as BindingClientHmrUpdate, j as BindingViteTransformPluginConfig, n as BindingBundleAnalyzerPluginConfig, p as BindingNativeMemoryStats, r as BindingBundleState, u as BindingLazyChunkOutput, y as BindingTsconfigCompilerOptions } from "./shared/binding-
|
|
2
|
-
import { $ as defineParallelPlugin,
|
|
3
|
-
import { a as MinifyOptions$1, c as minifySync$1, d as parse$1, f as parseSync$1, i as transformSync$1, l as ParseResult$1, m as resolveTsconfig, n as TransformResult$1, o as MinifyResult$1, p as TsconfigCache$1, r as transform$1, s as minify$1, t as TransformOptions$1, u as ParserOptions$1 } from "./shared/transform-
|
|
4
|
-
import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWebWorkerPostPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-
|
|
1
|
+
import { $ as resetNativeMemoryStats, B as NapiResolveOptions, E as BindingViteManifestPluginConfig, F as IsolatedDeclarationsResult, G as ResolverFactory, P as IsolatedDeclarationsOptions, Q as moduleRunnerTransform, W as ResolveResult, X as isolatedDeclaration, Y as getNativeMemoryStats, Z as isolatedDeclarationSync, b as BindingTsconfigRawOptions, f as BindingModuleInfo, h as BindingRebuildStrategy, i as BindingClientHmrUpdate, j as BindingViteTransformPluginConfig, n as BindingBundleAnalyzerPluginConfig, p as BindingNativeMemoryStats, r as BindingBundleState, u as BindingLazyChunkOutput, y as BindingTsconfigCompilerOptions } from "./shared/binding-tzp6Hc_3.mjs";
|
|
2
|
+
import { $ as defineParallelPlugin, I as BuiltinPlugin, Qt as RolldownOutput, Ut as OutputOptions, en as freeExternalMemory, l as InputOptions, qt as StringOrRegExp, ut as NormalizedOutputOptions } from "./shared/define-config-kIZKjX8Q.mjs";
|
|
3
|
+
import { a as MinifyOptions$1, c as minifySync$1, d as parse$1, f as parseSync$1, i as transformSync$1, l as ParseResult$1, m as resolveTsconfig, n as TransformResult$1, o as MinifyResult$1, p as TsconfigCache$1, r as transform$1, s as minify$1, t as TransformOptions$1, u as ParserOptions$1 } from "./shared/transform-D4RDjIPI.mjs";
|
|
4
|
+
import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWebWorkerPostPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-CGQ9ItSV.mjs";
|
|
5
5
|
//#region src/api/dev/dev-options.d.ts
|
|
6
6
|
type DevOnHmrUpdates = (result: Error | {
|
|
7
7
|
updates: BindingClientHmrUpdate[];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./shared/binding-
|
|
2
|
-
import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-
|
|
3
|
-
import { u as transformToRollupOutput } from "./shared/bindingify-input-options-
|
|
4
|
-
import { l as PluginDriver, s as validateOption, t as createBundlerOptions } from "./shared/create-bundler-option-
|
|
5
|
-
import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-
|
|
6
|
-
import { n as parseSync$1, t as parse$1 } from "./shared/parse-
|
|
7
|
-
import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWebWorkerPostPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-
|
|
8
|
-
import { a as minify$1, i as transformSync$1, n as resolveTsconfig, o as minifySync$1, r as transform$1, t as TsconfigCache$1 } from "./shared/resolve-tsconfig-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./shared/binding-B4m_2rFW.mjs";
|
|
2
|
+
import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-xyy0kCQR.mjs";
|
|
3
|
+
import { u as transformToRollupOutput } from "./shared/bindingify-input-options-YtcpaV3r.mjs";
|
|
4
|
+
import { l as PluginDriver, s as validateOption, t as createBundlerOptions } from "./shared/create-bundler-option-CFtx335R.mjs";
|
|
5
|
+
import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-Bj1xBdEY.mjs";
|
|
6
|
+
import { n as parseSync$1, t as parse$1 } from "./shared/parse-Zii6QoPp.mjs";
|
|
7
|
+
import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWebWorkerPostPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-DDRbtWM1.mjs";
|
|
8
|
+
import { a as minify$1, i as transformSync$1, n as resolveTsconfig, o as minifySync$1, r as transform$1, t as TsconfigCache$1 } from "./shared/resolve-tsconfig-DRWFAQ3v.mjs";
|
|
9
9
|
import { pathToFileURL } from "node:url";
|
|
10
10
|
//#region src/api/dev/dev-engine.ts
|
|
11
11
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Compiler-emitted module-graph delta —
|
|
2
|
+
* Compiler-emitted module-graph delta — topology (static + dynamic edges).
|
|
3
3
|
* `ids[0, localCount)` are the modules this payload carries; `ids[localCount, …)` are foreign edge targets.
|
|
4
4
|
* `edges[i]` / `dynamicEdges[i]` are the static / dynamic-`import()` out-edges of `ids[i]`.
|
|
5
|
-
*
|
|
5
|
+
* `bindings[i][j]` are the export names `ids[i]` imports through `edges[i][j]`. `bindings` holds
|
|
6
|
+
* only some rows; a missing row, or a missing or `null` entry, means the whole namespace.
|
|
7
|
+
* `dynamicEdges` also holds only some rows; a missing row means no dynamic edges.
|
|
8
|
+
* @typedef {{ ids: string[], localCount: number, edges: number[][], bindings?: Record<number, (string[] | null)[]>, dynamicEdges?: Record<number, number[]> }} ModuleGraphDelta
|
|
6
9
|
* @typedef {{ createModuleHotContext(moduleId: string): any, onModuleCacheRemoval(moduleId: string): void }} DevRuntimeHooks
|
|
7
10
|
*/
|
|
8
11
|
export class MissingFactoryError {
|
|
@@ -25,10 +28,12 @@ export class DevRuntime {
|
|
|
25
28
|
/**
|
|
26
29
|
* Static import edges from `registerGraph` — entries persist across `removeModuleCache`
|
|
27
30
|
* and change only by replacement from a newer payload (last write wins).
|
|
28
|
-
*
|
|
31
|
+
* `bindings` is the payload row as sent; `getImportedBindings` resolves a missing entry.
|
|
32
|
+
* @type {Map<string, { edges: string[], bindings: (string[] | null)[] | undefined }>}
|
|
29
33
|
*/
|
|
30
34
|
staticImports: Map<string, {
|
|
31
35
|
edges: string[];
|
|
36
|
+
bindings: (string[] | null)[] | undefined;
|
|
32
37
|
}>;
|
|
33
38
|
/**
|
|
34
39
|
* Reverse index over the static imports.
|
|
@@ -90,6 +95,13 @@ export class DevRuntime {
|
|
|
90
95
|
* @returns {string[]}
|
|
91
96
|
*/
|
|
92
97
|
getImporters(id: string): string[];
|
|
98
|
+
/**
|
|
99
|
+
* `"*"` means the whole namespace, an empty list a side-effect-only import, `undefined` no edge.
|
|
100
|
+
* @param {string} importer
|
|
101
|
+
* @param {string} id
|
|
102
|
+
* @returns {string[] | undefined}
|
|
103
|
+
*/
|
|
104
|
+
getImportedBindings(importer: string, id: string): string[] | undefined;
|
|
93
105
|
/**
|
|
94
106
|
* @param {string} id
|
|
95
107
|
*/
|
|
@@ -134,20 +146,27 @@ export class DevRuntime {
|
|
|
134
146
|
__reExport: any;
|
|
135
147
|
}
|
|
136
148
|
/**
|
|
137
|
-
* Compiler-emitted module-graph delta —
|
|
149
|
+
* Compiler-emitted module-graph delta — topology (static + dynamic edges).
|
|
138
150
|
* `ids[0, localCount)` are the modules this payload carries; `ids[localCount, …)` are foreign edge targets.
|
|
139
151
|
* `edges[i]` / `dynamicEdges[i]` are the static / dynamic-`import()` out-edges of `ids[i]`.
|
|
152
|
+
* `bindings[i][j]` are the export names `ids[i]` imports through `edges[i][j]`. `bindings` holds
|
|
153
|
+
* only some rows; a missing row, or a missing or `null` entry, means the whole namespace.
|
|
154
|
+
* `dynamicEdges` also holds only some rows; a missing row means no dynamic edges.
|
|
140
155
|
*/
|
|
141
156
|
export type ModuleGraphDelta = {
|
|
142
157
|
ids: string[];
|
|
143
158
|
localCount: number;
|
|
144
159
|
edges: number[][];
|
|
145
|
-
|
|
160
|
+
bindings?: Record<number, (string[] | null)[]>;
|
|
161
|
+
dynamicEdges?: Record<number, number[]>;
|
|
146
162
|
};
|
|
147
163
|
/**
|
|
148
|
-
* Compiler-emitted module-graph delta —
|
|
164
|
+
* Compiler-emitted module-graph delta — topology (static + dynamic edges).
|
|
149
165
|
* `ids[0, localCount)` are the modules this payload carries; `ids[localCount, …)` are foreign edge targets.
|
|
150
166
|
* `edges[i]` / `dynamicEdges[i]` are the static / dynamic-`import()` out-edges of `ids[i]`.
|
|
167
|
+
* `bindings[i][j]` are the export names `ids[i]` imports through `edges[i][j]`. `bindings` holds
|
|
168
|
+
* only some rows; a missing row, or a missing or `null` entry, means the whole namespace.
|
|
169
|
+
* `dynamicEdges` also holds only some rows; a missing row means no dynamic edges.
|
|
151
170
|
*/
|
|
152
171
|
export type DevRuntimeHooks = {
|
|
153
172
|
createModuleHotContext(moduleId: string): any;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Compiler-emitted module-graph delta —
|
|
2
|
+
* Compiler-emitted module-graph delta — topology (static + dynamic edges).
|
|
3
3
|
* `ids[0, localCount)` are the modules this payload carries; `ids[localCount, …)` are foreign edge targets.
|
|
4
4
|
* `edges[i]` / `dynamicEdges[i]` are the static / dynamic-`import()` out-edges of `ids[i]`.
|
|
5
|
-
*
|
|
5
|
+
* `bindings[i][j]` are the export names `ids[i]` imports through `edges[i][j]`. `bindings` holds
|
|
6
|
+
* only some rows; a missing row, or a missing or `null` entry, means the whole namespace.
|
|
7
|
+
* `dynamicEdges` also holds only some rows; a missing row means no dynamic edges.
|
|
8
|
+
* @typedef {{ ids: string[], localCount: number, edges: number[][], bindings?: Record<number, (string[] | null)[]>, dynamicEdges?: Record<number, number[]> }} ModuleGraphDelta
|
|
6
9
|
* @typedef {{ createModuleHotContext(moduleId: string): any, onModuleCacheRemoval(moduleId: string): void }} DevRuntimeHooks
|
|
7
10
|
*/
|
|
8
11
|
export class MissingFactoryError {
|
|
@@ -25,10 +28,12 @@ export class DevRuntime {
|
|
|
25
28
|
/**
|
|
26
29
|
* Static import edges from `registerGraph` — entries persist across `removeModuleCache`
|
|
27
30
|
* and change only by replacement from a newer payload (last write wins).
|
|
28
|
-
*
|
|
31
|
+
* `bindings` is the payload row as sent; `getImportedBindings` resolves a missing entry.
|
|
32
|
+
* @type {Map<string, { edges: string[], bindings: (string[] | null)[] | undefined }>}
|
|
29
33
|
*/
|
|
30
34
|
staticImports: Map<string, {
|
|
31
35
|
edges: string[];
|
|
36
|
+
bindings: (string[] | null)[] | undefined;
|
|
32
37
|
}>;
|
|
33
38
|
/**
|
|
34
39
|
* Reverse index over the static imports.
|
|
@@ -90,6 +95,13 @@ export class DevRuntime {
|
|
|
90
95
|
* @returns {string[]}
|
|
91
96
|
*/
|
|
92
97
|
getImporters(id: string): string[];
|
|
98
|
+
/**
|
|
99
|
+
* `"*"` means the whole namespace, an empty list a side-effect-only import, `undefined` no edge.
|
|
100
|
+
* @param {string} importer
|
|
101
|
+
* @param {string} id
|
|
102
|
+
* @returns {string[] | undefined}
|
|
103
|
+
*/
|
|
104
|
+
getImportedBindings(importer: string, id: string): string[] | undefined;
|
|
93
105
|
/**
|
|
94
106
|
* @param {string} id
|
|
95
107
|
*/
|
|
@@ -134,20 +146,27 @@ export class DevRuntime {
|
|
|
134
146
|
__reExport: any;
|
|
135
147
|
}
|
|
136
148
|
/**
|
|
137
|
-
* Compiler-emitted module-graph delta —
|
|
149
|
+
* Compiler-emitted module-graph delta — topology (static + dynamic edges).
|
|
138
150
|
* `ids[0, localCount)` are the modules this payload carries; `ids[localCount, …)` are foreign edge targets.
|
|
139
151
|
* `edges[i]` / `dynamicEdges[i]` are the static / dynamic-`import()` out-edges of `ids[i]`.
|
|
152
|
+
* `bindings[i][j]` are the export names `ids[i]` imports through `edges[i][j]`. `bindings` holds
|
|
153
|
+
* only some rows; a missing row, or a missing or `null` entry, means the whole namespace.
|
|
154
|
+
* `dynamicEdges` also holds only some rows; a missing row means no dynamic edges.
|
|
140
155
|
*/
|
|
141
156
|
export type ModuleGraphDelta = {
|
|
142
157
|
ids: string[];
|
|
143
158
|
localCount: number;
|
|
144
159
|
edges: number[][];
|
|
145
|
-
|
|
160
|
+
bindings?: Record<number, (string[] | null)[]>;
|
|
161
|
+
dynamicEdges?: Record<number, number[]>;
|
|
146
162
|
};
|
|
147
163
|
/**
|
|
148
|
-
* Compiler-emitted module-graph delta —
|
|
164
|
+
* Compiler-emitted module-graph delta — topology (static + dynamic edges).
|
|
149
165
|
* `ids[0, localCount)` are the modules this payload carries; `ids[localCount, …)` are foreign edge targets.
|
|
150
166
|
* `edges[i]` / `dynamicEdges[i]` are the static / dynamic-`import()` out-edges of `ids[i]`.
|
|
167
|
+
* `bindings[i][j]` are the export names `ids[i]` imports through `edges[i][j]`. `bindings` holds
|
|
168
|
+
* only some rows; a missing row, or a missing or `null` entry, means the whole namespace.
|
|
169
|
+
* `dynamicEdges` also holds only some rows; a missing row means no dynamic edges.
|
|
151
170
|
*/
|
|
152
171
|
export type DevRuntimeHooks = {
|
|
153
172
|
createModuleHotContext(moduleId: string): any;
|