@voidzero-dev/vite-plus-core 1.0.0 → 1.2.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 +36 -177
- package/dist/rolldown/cli.mjs +33 -29
- package/dist/rolldown/config.d.mts +3 -3
- package/dist/rolldown/config.mjs +2 -2
- package/dist/rolldown/experimental-index.d.mts +29 -29
- package/dist/rolldown/experimental-index.mjs +8 -8
- package/dist/rolldown/experimental-runtime-types.d.ts +39 -7
- package/dist/rolldown/experimental-runtime.d.ts +39 -7
- package/dist/rolldown/experimental-runtime.mjs +284 -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 +3 -3
- package/dist/rolldown/parse-ast-index.d.mts +6 -7
- package/dist/rolldown/parse-ast-index.mjs +1 -1
- package/dist/rolldown/plugins-index.d.mts +5 -5
- package/dist/rolldown/plugins-index.mjs +2 -2
- package/dist/rolldown/shared/{binding-BY0qR5iS.mjs → binding-DlR5d34p.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-DhjlrWZE.mjs} +203 -20
- package/dist/rolldown/shared/{constructors-xEvVj3lN.mjs → constructors-B2hkJoIA.mjs} +1 -1
- package/dist/rolldown/shared/{constructors-DuOq7MqW.d.mts → constructors-Dw9H1IvX.d.mts} +2 -2
- package/dist/rolldown/shared/{create-bundler-option-COco-7P6.mjs → create-bundler-option-1AEe_J0o.mjs} +36 -10
- package/dist/rolldown/shared/{define-config-C7HCoqY8.d.mts → define-config-CGhm2DU-.d.mts} +94 -5
- package/dist/rolldown/shared/{error-C7pxws0W.mjs → error-Dsqzw0Oa.mjs} +2 -1
- package/dist/rolldown/shared/{load-config-DkUBnDsI.mjs → load-config-bvw8z7Ft.mjs} +2 -2
- package/dist/rolldown/shared/{normalize-string-or-regex-F14uvr6D.mjs → normalize-string-or-regex-B7Gsiuz7.mjs} +1 -1
- package/dist/rolldown/shared/{parse-BWeE7Vr9.mjs → parse-BCSSrLHf.mjs} +2 -2
- package/dist/rolldown/shared/{resolve-tsconfig-DHwpIs5e.mjs → resolve-tsconfig-DyR2RUTm.mjs} +2 -2
- package/dist/rolldown/shared/{rolldown-Bue0gNT5.mjs → rolldown-C8QomUuX.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-CPI70Lkn.mjs} +4 -4
- package/dist/rolldown/utils-index.d.mts +5 -5
- package/dist/rolldown/utils-index.mjs +5 -5
- package/dist/tsdown/{build-JVmLFaZt-DRlLhpV3.js → build-KEepWO_k-BOsPZ2cH.js} +26 -25
- package/dist/tsdown/{debug-CpC4hV25-C-OYr2iI.js → debug-DKTolR2K-BMJOFfj2.js} +4 -5
- package/dist/tsdown/{detect-Bg-d8iUV-Du8LljhG.js → detect-DHDepxVX-CpWW52Jd.js} +38 -34
- package/dist/tsdown/dist-BebyOHRu.js +6224 -0
- package/dist/tsdown/index-types.d.ts +216 -216
- package/dist/tsdown/index.js +4 -4
- package/dist/tsdown/{main-CyNcZUzu.js → main-Du9xCnhX.js} +105 -19
- package/dist/tsdown/npm_entry_picomatch.cjs +36 -25
- package/dist/tsdown/{resolver-DE0_sy8o-Bi3xbRxi.js → resolver-DE0_sy8o-DNoi-dFQ.js} +3 -2
- package/dist/tsdown/run.js +28 -26
- package/dist/tsdown/{src-pN7Bl6zo.js → src-CBWRkeF5.js} +4 -4
- package/dist/tsdown/{target-DgdLrXba-DpO9JXxB.js → target-HZbF5Cux-Cmv1LI5D.js} +175 -9
- package/dist/tsdown/{tsc-BLb4pSBY.js → tsc-YwU2b8yT.js} +4 -4
- package/dist/tsdown/tsdown-css.js +4 -4
- package/dist/tsdown/tsdown-exe.js +5 -43
- package/dist/vite/client/bundledDevClient.mjs +109 -345
- package/dist/vite/client/client.mjs +80 -28
- package/dist/vite/node/chunks/build.js +19 -19
- package/dist/vite/node/chunks/node.js +5210 -4942
- package/dist/vite/node/chunks/postcss-import.js +10 -10
- package/dist/vite/node/cli.js +24 -21
- package/dist/vite/node/index.d.ts +5 -2
- package/dist/vite/node/index.js +1 -2
- package/dist/vite/node/internal.js +1 -2
- package/dist/vite/node/module-runner.d.ts +1 -0
- package/dist/vite/node/module-runner.js +32 -27
- package/package.json +46 -30
- package/dist/rolldown/experimental-default-runtime.mjs +0 -116
- package/dist/rolldown/experimental-runtime-base.mjs +0 -95
- package/dist/tsdown/dist-VDcV1Qyy.js +0 -2952
- package/dist/tsdown/require-BbBF8Ii0-BDaWJgzA.js +0 -320
- package/dist/tsdown/style-DiMP8pYv-DIC5PXeH.js +0 -88
- package/dist/tsdown/version-CQ98ZBpL-D6GAHapk.js +0 -169
package/LICENSE
CHANGED
|
@@ -582,7 +582,7 @@ Repositories: https://github.com/sindresorhus/bundle-name, https://github.com/si
|
|
|
582
582
|
|
|
583
583
|
## cac
|
|
584
584
|
License: MIT
|
|
585
|
-
By: egoist <0x142857@gmail.com>
|
|
585
|
+
By: egoist <0x142857@gmail.com>, Kevin Deng <sxzz@sxzz.moe>
|
|
586
586
|
Repository: https://github.com/cacjs/cac
|
|
587
587
|
|
|
588
588
|
> The MIT License (MIT)
|
|
@@ -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
|
|
@@ -5290,3 +5143,9 @@ Repository: https://github.com/eemeli/yaml
|
|
|
5290
5143
|
## yuku-ast
|
|
5291
5144
|
License: MIT
|
|
5292
5145
|
Repository: https://github.com/yuku-toolchain/yuku
|
|
5146
|
+
|
|
5147
|
+
---------------------------------------
|
|
5148
|
+
|
|
5149
|
+
## yuku-codegen
|
|
5150
|
+
License: MIT
|
|
5151
|
+
Repository: https://github.com/yuku-toolchain/yuku
|
package/dist/rolldown/cli.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
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-CPI70Lkn.mjs";
|
|
2
|
+
import { D as version$1, E as package_default } from "./shared/bindingify-input-options-DhjlrWZE.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-1AEe_J0o.mjs";
|
|
5
|
+
import { t as rolldown } from "./shared/rolldown-C8QomUuX.mjs";
|
|
6
|
+
import { t as loadConfig } from "./shared/load-config-bvw8z7Ft.mjs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import g$1 from "node:process";
|
|
9
9
|
import { performance } from "node:perf_hooks";
|
|
10
|
-
//#region ../../../node_modules/.pnpm/cac@7.0.
|
|
10
|
+
//#region ../../../node_modules/.pnpm/cac@7.0.1/node_modules/cac/dist/index.js
|
|
11
11
|
function toArr(any) {
|
|
12
12
|
return any == null ? [] : Array.isArray(any) ? any : [any];
|
|
13
13
|
}
|
|
@@ -108,23 +108,23 @@ function findAllBrackets(v) {
|
|
|
108
108
|
}
|
|
109
109
|
function getMriOptions(options) {
|
|
110
110
|
const result = {
|
|
111
|
-
alias:
|
|
111
|
+
alias: Object.create(null),
|
|
112
112
|
boolean: []
|
|
113
113
|
};
|
|
114
114
|
for (const [index, option] of options.entries()) {
|
|
115
115
|
if (option.names.length > 1) result.alias[option.names[0]] = option.names.slice(1);
|
|
116
|
-
if (option.isBoolean)
|
|
117
|
-
if (
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
116
|
+
if (option.isBoolean) {
|
|
117
|
+
if (option.negated) {
|
|
118
|
+
if (!options.some((o, i) => {
|
|
119
|
+
return i !== index && o.names.some((name) => option.names.includes(name)) && typeof o.required === "boolean";
|
|
120
|
+
})) result.boolean.push(option.names[0]);
|
|
121
|
+
} else result.boolean.push(option.names[0]);
|
|
122
|
+
}
|
|
121
123
|
}
|
|
122
124
|
return result;
|
|
123
125
|
}
|
|
124
126
|
function findLongest(arr) {
|
|
125
|
-
return arr.sort((a, b) =>
|
|
126
|
-
return a.length > b.length ? -1 : 1;
|
|
127
|
-
})[0];
|
|
127
|
+
return arr.sort((a, b) => b.length - a.length)[0];
|
|
128
128
|
}
|
|
129
129
|
function padRight(str, length) {
|
|
130
130
|
return str.length >= length ? str : `${str}${" ".repeat(length - str.length)}`;
|
|
@@ -134,7 +134,13 @@ function camelcase(input) {
|
|
|
134
134
|
return p1 + p2.toUpperCase();
|
|
135
135
|
});
|
|
136
136
|
}
|
|
137
|
+
const UNSAFE_KEYS = /* @__PURE__ */ new Set([
|
|
138
|
+
"__proto__",
|
|
139
|
+
"constructor",
|
|
140
|
+
"prototype"
|
|
141
|
+
]);
|
|
137
142
|
function setDotProp(obj, keys, val) {
|
|
143
|
+
if (keys.some((key) => UNSAFE_KEYS.has(key))) return;
|
|
138
144
|
let current = obj;
|
|
139
145
|
for (let i = 0; i < keys.length; i++) {
|
|
140
146
|
const key = keys[i];
|
|
@@ -150,12 +156,9 @@ function setDotProp(obj, keys, val) {
|
|
|
150
156
|
}
|
|
151
157
|
}
|
|
152
158
|
function setByType(obj, transforms) {
|
|
153
|
-
for (const key of Object.
|
|
154
|
-
|
|
155
|
-
if (transform.
|
|
156
|
-
obj[key] = [obj[key]].flat();
|
|
157
|
-
if (typeof transform.transformFunction === "function") obj[key] = obj[key].map(transform.transformFunction);
|
|
158
|
-
}
|
|
159
|
+
for (const [key, transform] of Object.entries(transforms)) if (transform.shouldTransform) {
|
|
160
|
+
obj[key] = [obj[key]].flat();
|
|
161
|
+
if (typeof transform.transformFunction === "function") obj[key] = obj[key].map(transform.transformFunction);
|
|
159
162
|
}
|
|
160
163
|
}
|
|
161
164
|
function getFileName(input) {
|
|
@@ -198,7 +201,7 @@ var Option = class {
|
|
|
198
201
|
name = name.replace(/^no-/, "");
|
|
199
202
|
}
|
|
200
203
|
return camelcaseOptionName(name);
|
|
201
|
-
}).sort((a, b) => a.length
|
|
204
|
+
}).sort((a, b) => a.length - b.length);
|
|
202
205
|
this.name = this.names.at(-1);
|
|
203
206
|
if (this.negated && this.config.default == null) this.config.default = true;
|
|
204
207
|
if (rawName.includes("<")) this.required = true;
|
|
@@ -301,7 +304,7 @@ var Command = class {
|
|
|
301
304
|
* @param name Option name
|
|
302
305
|
*/
|
|
303
306
|
hasOption(name) {
|
|
304
|
-
name = name.split(".")[0];
|
|
307
|
+
name = name.split(".", 1)[0];
|
|
305
308
|
return this.options.find((option) => {
|
|
306
309
|
return option.names.includes(name);
|
|
307
310
|
});
|
|
@@ -376,7 +379,7 @@ var Command = class {
|
|
|
376
379
|
const { options: parsedOptions, globalCommand } = this.cli;
|
|
377
380
|
const options = [...globalCommand.options, ...this.options];
|
|
378
381
|
for (const option of options) {
|
|
379
|
-
const value = parsedOptions[option.name.split(".")[0]];
|
|
382
|
+
const value = parsedOptions[option.name.split(".", 1)[0]];
|
|
380
383
|
if (option.required) {
|
|
381
384
|
const hasNegated = options.some((o) => o.negated && o.names.includes(option.name));
|
|
382
385
|
if (value === true || value === false && !hasNegated) throw new CACError(`option \`${option.rawName}\` value is missing`);
|
|
@@ -595,8 +598,8 @@ var CAC = class extends EventTarget {
|
|
|
595
598
|
transforms[cliOption.name].transformFunction = cliOption.config.type[0];
|
|
596
599
|
}
|
|
597
600
|
}
|
|
598
|
-
for (const key of Object.
|
|
599
|
-
setDotProp(options, key.split("."),
|
|
601
|
+
for (const [key, value] of Object.entries(parsed)) if (key !== "_") {
|
|
602
|
+
setDotProp(options, key.split("."), value);
|
|
600
603
|
setByType(options, transforms);
|
|
601
604
|
}
|
|
602
605
|
return {
|
|
@@ -866,7 +869,7 @@ function getClearScreenFunction(options) {
|
|
|
866
869
|
};
|
|
867
870
|
}
|
|
868
871
|
//#endregion
|
|
869
|
-
//#region \0@oxc-project+runtime@0.
|
|
872
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/usingCtx.js
|
|
870
873
|
function _usingCtx() {
|
|
871
874
|
var r = "function" == typeof SuppressedError ? SuppressedError : function(r, e) {
|
|
872
875
|
var n = Error();
|
|
@@ -1031,7 +1034,7 @@ async function bundleInner(config, cliOptions) {
|
|
|
1031
1034
|
result.forEach(printBundleOutputPretty);
|
|
1032
1035
|
logger.log(``);
|
|
1033
1036
|
const duration = performance.now() - startTime;
|
|
1034
|
-
logger.success(`rolldown v${version} Finished in ${styleText("green", ms(duration))}`);
|
|
1037
|
+
logger.success(`rolldown v${version$1} Finished in ${styleText("green", ms(duration))}`);
|
|
1035
1038
|
}
|
|
1036
1039
|
function printBundleOutputPretty(output) {
|
|
1037
1040
|
const outputEntries = collectOutputEntries(output.output);
|
|
@@ -1098,6 +1101,7 @@ function relativeId(id) {
|
|
|
1098
1101
|
}
|
|
1099
1102
|
//#endregion
|
|
1100
1103
|
//#region src/cli/commands/help.ts
|
|
1104
|
+
const { description, version } = package_default;
|
|
1101
1105
|
const examples = [
|
|
1102
1106
|
{
|
|
1103
1107
|
title: "Bundle with a config file `rolldown.config.mjs`",
|
|
@@ -1187,7 +1191,7 @@ async function main() {
|
|
|
1187
1191
|
return;
|
|
1188
1192
|
}
|
|
1189
1193
|
if (cliOptions.version) {
|
|
1190
|
-
logger.log(`rolldown v${version}`);
|
|
1194
|
+
logger.log(`rolldown v${version$1}`);
|
|
1191
1195
|
return;
|
|
1192
1196
|
}
|
|
1193
1197
|
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-CGhm2DU-.mjs";
|
|
2
2
|
//#region src/utils/load-config.d.ts
|
|
3
3
|
type ConfigLoader = "bundle" | "native";
|
|
4
4
|
interface LoadConfigOptions {
|
|
@@ -21,6 +21,6 @@ interface LoadConfigOptions {
|
|
|
21
21
|
*
|
|
22
22
|
* @category Config
|
|
23
23
|
*/
|
|
24
|
-
declare function loadConfig(configPath: string, options?: LoadConfigOptions): Promise<ConfigExport>;
|
|
24
|
+
export declare function loadConfig(configPath: string, options?: LoadConfigOptions): Promise<ConfigExport>;
|
|
25
25
|
//#endregion
|
|
26
|
-
export { VERSION, defineConfig
|
|
26
|
+
export { VERSION, defineConfig };
|
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-DhjlrWZE.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-bvw8z7Ft.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-CGhm2DU-.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-Dw9H1IvX.mjs";
|
|
5
5
|
//#region src/api/dev/dev-options.d.ts
|
|
6
6
|
type DevOnHmrUpdates = (result: Error | {
|
|
7
7
|
updates: BindingClientHmrUpdate[];
|
|
@@ -94,7 +94,7 @@ interface DevOptions {
|
|
|
94
94
|
rebuildStrategy?: "always" | "never";
|
|
95
95
|
watch?: DevWatchOptions;
|
|
96
96
|
/**
|
|
97
|
-
* Whether the `hotUpdate` plugin hook is called.
|
|
97
|
+
* Whether the `hotUpdate` plugin hook is called. `experimental.devMode.hotUpdate` also turns it on.
|
|
98
98
|
* @default false
|
|
99
99
|
*/
|
|
100
100
|
hotUpdate?: boolean;
|
|
@@ -129,7 +129,7 @@ declare class DevEngineModuleGraph {
|
|
|
129
129
|
*/
|
|
130
130
|
getModuleIds(): string[];
|
|
131
131
|
}
|
|
132
|
-
declare class DevEngine {
|
|
132
|
+
export declare class DevEngine {
|
|
133
133
|
#private;
|
|
134
134
|
readonly moduleGraph: DevEngineModuleGraph;
|
|
135
135
|
static create(inputOptions: InputOptions, outputOptions?: OutputOptions, devOptions?: DevOptions): Promise<DevEngine>;
|
|
@@ -170,7 +170,7 @@ declare class DevEngine {
|
|
|
170
170
|
}
|
|
171
171
|
//#endregion
|
|
172
172
|
//#region src/api/dev/index.d.ts
|
|
173
|
-
declare const dev: typeof DevEngine.create;
|
|
173
|
+
export declare const dev: typeof DevEngine.create;
|
|
174
174
|
//#endregion
|
|
175
175
|
//#region src/api/experimental.d.ts
|
|
176
176
|
/**
|
|
@@ -188,7 +188,7 @@ declare const dev: typeof DevEngine.create;
|
|
|
188
188
|
* // Now all resources have been cleaned up.
|
|
189
189
|
* ```
|
|
190
190
|
*/
|
|
191
|
-
declare const scan: (rawInputOptions: InputOptions, rawOutputOptions?: {}) => Promise<Promise<void>>;
|
|
191
|
+
export declare const scan: (rawInputOptions: InputOptions, rawOutputOptions?: {}) => Promise<Promise<void>>;
|
|
192
192
|
//#endregion
|
|
193
193
|
//#region src/builtin-plugin/alias-plugin.d.ts
|
|
194
194
|
type ViteAliasPluginConfig = {
|
|
@@ -197,7 +197,7 @@ type ViteAliasPluginConfig = {
|
|
|
197
197
|
replacement: string;
|
|
198
198
|
}[];
|
|
199
199
|
};
|
|
200
|
-
declare function viteAliasPlugin(config: ViteAliasPluginConfig): BuiltinPlugin;
|
|
200
|
+
export declare function viteAliasPlugin(config: ViteAliasPluginConfig): BuiltinPlugin;
|
|
201
201
|
//#endregion
|
|
202
202
|
//#region src/builtin-plugin/bundle-analyzer-plugin.d.ts
|
|
203
203
|
/**
|
|
@@ -248,7 +248,7 @@ declare function viteAliasPlugin(config: ViteAliasPluginConfig): BuiltinPlugin;
|
|
|
248
248
|
* }
|
|
249
249
|
* ```
|
|
250
250
|
*/
|
|
251
|
-
declare function bundleAnalyzerPlugin(config?: BindingBundleAnalyzerPluginConfig): BuiltinPlugin;
|
|
251
|
+
export declare function bundleAnalyzerPlugin(config?: BindingBundleAnalyzerPluginConfig): BuiltinPlugin;
|
|
252
252
|
//#endregion
|
|
253
253
|
//#region src/builtin-plugin/transform-plugin.d.ts
|
|
254
254
|
type TransformPattern = string | RegExp | readonly (RegExp | string)[];
|
|
@@ -258,13 +258,13 @@ type TransformPluginConfig = Omit<BindingViteTransformPluginConfig, "include" |
|
|
|
258
258
|
jsxRefreshInclude?: TransformPattern;
|
|
259
259
|
jsxRefreshExclude?: TransformPattern;
|
|
260
260
|
};
|
|
261
|
-
declare function viteTransformPlugin(config: TransformPluginConfig): BuiltinPlugin;
|
|
261
|
+
export declare function viteTransformPlugin(config: TransformPluginConfig): BuiltinPlugin;
|
|
262
262
|
//#endregion
|
|
263
263
|
//#region src/builtin-plugin/vite-manifest-plugin.d.ts
|
|
264
264
|
type ViteManifestPluginConfig = Omit<BindingViteManifestPluginConfig, "isLegacy"> & {
|
|
265
265
|
isOutputOptionsForLegacyChunks?: (outputOptions: NormalizedOutputOptions) => boolean;
|
|
266
266
|
};
|
|
267
|
-
declare function viteManifestPlugin(config: ViteManifestPluginConfig): BuiltinPlugin;
|
|
267
|
+
export declare function viteManifestPlugin(config: ViteManifestPluginConfig): BuiltinPlugin;
|
|
268
268
|
//#endregion
|
|
269
269
|
//#region src/experimental-index.d.ts
|
|
270
270
|
/**
|
|
@@ -294,39 +294,39 @@ declare function viteManifestPlugin(config: ViteManifestPluginConfig): BuiltinPl
|
|
|
294
294
|
*
|
|
295
295
|
* @see {@link https://github.com/streamich/memfs} for more information on the memfs API.
|
|
296
296
|
*/
|
|
297
|
-
declare const memfs: {
|
|
297
|
+
export declare const memfs: {
|
|
298
298
|
fs: any;
|
|
299
299
|
volume: any;
|
|
300
300
|
} | undefined;
|
|
301
301
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
302
|
-
declare const parse: typeof parse$1;
|
|
302
|
+
export declare const parse: typeof parse$1;
|
|
303
303
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
304
|
-
declare const parseSync: typeof parseSync$1;
|
|
304
|
+
export declare const parseSync: typeof parseSync$1;
|
|
305
305
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
306
|
-
type ParseResult = ParseResult$1;
|
|
306
|
+
export type ParseResult = ParseResult$1;
|
|
307
307
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
308
|
-
type ParserOptions = ParserOptions$1;
|
|
308
|
+
export type ParserOptions = ParserOptions$1;
|
|
309
309
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
310
|
-
declare const minify: typeof minify$1;
|
|
310
|
+
export declare const minify: typeof minify$1;
|
|
311
311
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
312
|
-
declare const minifySync: typeof minifySync$1;
|
|
312
|
+
export declare const minifySync: typeof minifySync$1;
|
|
313
313
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
314
|
-
type MinifyOptions = MinifyOptions$1;
|
|
314
|
+
export type MinifyOptions = MinifyOptions$1;
|
|
315
315
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
316
|
-
type MinifyResult = MinifyResult$1;
|
|
316
|
+
export type MinifyResult = MinifyResult$1;
|
|
317
317
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
318
|
-
declare const transform: typeof transform$1;
|
|
318
|
+
export declare const transform: typeof transform$1;
|
|
319
319
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
320
|
-
declare const transformSync: typeof transformSync$1;
|
|
320
|
+
export declare const transformSync: typeof transformSync$1;
|
|
321
321
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
322
|
-
type TransformOptions = TransformOptions$1;
|
|
322
|
+
export type TransformOptions = TransformOptions$1;
|
|
323
323
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
324
|
-
type TransformResult = TransformResult$1;
|
|
324
|
+
export type TransformResult = TransformResult$1;
|
|
325
325
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
326
|
-
declare const TsconfigCache: typeof TsconfigCache$1;
|
|
326
|
+
export declare const TsconfigCache: typeof TsconfigCache$1;
|
|
327
327
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
328
|
-
type TsconfigRawOptions = BindingTsconfigRawOptions;
|
|
328
|
+
export type TsconfigRawOptions = BindingTsconfigRawOptions;
|
|
329
329
|
/** @deprecated Use from `rolldown/utils` instead. */
|
|
330
|
-
type TsconfigCompilerOptions = BindingTsconfigCompilerOptions;
|
|
330
|
+
export type TsconfigCompilerOptions = BindingTsconfigCompilerOptions;
|
|
331
331
|
//#endregion
|
|
332
|
-
export { type BindingClientHmrUpdate, type BindingNativeMemoryStats, BindingRebuildStrategy,
|
|
332
|
+
export { type BindingClientHmrUpdate, type BindingNativeMemoryStats, BindingRebuildStrategy, type DevOptions, type DevWatchOptions, type IsolatedDeclarationsOptions, type IsolatedDeclarationsResult, type NapiResolveOptions as ResolveOptions, type ResolveResult, ResolverFactory, defineParallelPlugin, viteDynamicImportVarsPlugin as dynamicImportVarsPlugin, viteDynamicImportVarsPlugin, freeExternalMemory, getNativeMemoryStats, viteImportGlobPlugin as importGlobPlugin, viteImportGlobPlugin, isolatedDeclaration, isolatedDeclarationPlugin, isolatedDeclarationSync, moduleRunnerTransform, oxcRuntimePlugin, resetNativeMemoryStats, resolveTsconfig, viteBuildImportAnalysisPlugin, viteJsonPlugin, viteLoadFallbackPlugin, viteModulePreloadPolyfillPlugin, viteReactRefreshWrapperPlugin, viteReporterPlugin, viteResolvePlugin, viteWebWorkerPostPlugin };
|
|
@@ -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-DlR5d34p.mjs";
|
|
2
|
+
import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-B7Gsiuz7.mjs";
|
|
3
|
+
import { u as transformToRollupOutput } from "./shared/bindingify-input-options-DhjlrWZE.mjs";
|
|
4
|
+
import { l as PluginDriver, s as validateOption, t as createBundlerOptions } from "./shared/create-bundler-option-1AEe_J0o.mjs";
|
|
5
|
+
import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-Dsqzw0Oa.mjs";
|
|
6
|
+
import { n as parseSync$1, t as parse$1 } from "./shared/parse-BCSSrLHf.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-B2hkJoIA.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-DyR2RUTm.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);
|