powerlines 0.6.1 → 0.7.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/dist/astro.cjs +8 -8
- package/dist/astro.d.cts +1 -1
- package/dist/astro.d.ts +1 -1
- package/dist/astro.js +5 -5
- package/dist/{chunk-KNO2M23A.js → chunk-2CNNHTLQ.js} +3 -3
- package/dist/{chunk-L5GLIKXZ.js → chunk-3KDLNXR2.js} +3 -3
- package/dist/{chunk-ADSCR5XG.js → chunk-3M7JOAG2.js} +3 -3
- package/dist/{chunk-TXTWKVWH.js → chunk-3TWKQNDH.js} +3 -3
- package/dist/chunk-3WADZS76.cjs +24 -0
- package/dist/chunk-4AKYOJXA.cjs +20 -0
- package/dist/{chunk-WJT7T6W5.cjs → chunk-5BMVZ2J3.cjs} +25 -20
- package/dist/{chunk-5QMOCGCK.js → chunk-5FOMG64G.js} +3 -3
- package/dist/{chunk-FO3BCZ7I.cjs → chunk-B5UJMXT7.cjs} +2 -2
- package/dist/chunk-CT56Z4A5.cjs +12 -0
- package/dist/{chunk-AW2LSG43.cjs → chunk-G4VNZ3U2.cjs} +4 -4
- package/dist/{chunk-FK3MZTKX.cjs → chunk-H3DAM4ZC.cjs} +4 -4
- package/dist/{chunk-B6G6LTDH.js → chunk-HQOIPPXC.js} +3 -3
- package/dist/{chunk-KFCDBHCT.js → chunk-ITUNIK6G.js} +24 -19
- package/dist/{chunk-RF2IZCFH.cjs → chunk-IWAWK6QY.cjs} +4 -4
- package/dist/chunk-KMLFL4CW.js +14 -0
- package/dist/{chunk-FAMB6PTO.cjs → chunk-L2FOZFCY.cjs} +4 -4
- package/dist/{chunk-S7USQUJV.js → chunk-L3BSBOST.js} +3 -3
- package/dist/chunk-LJKLD77I.cjs +12 -0
- package/dist/chunk-NKOW5VPV.cjs +12 -0
- package/dist/chunk-NWADEQ7Z.cjs +12 -0
- package/dist/chunk-PBF6NZ5X.cjs +12 -0
- package/dist/{chunk-UPPRHJT4.js → chunk-QQGS6IQZ.js} +3 -3
- package/dist/{chunk-NDZJPIXK.cjs → chunk-R7QBD2CA.cjs} +8 -8
- package/dist/{chunk-7HEPGGKY.cjs → chunk-RELMZQ2F.cjs} +4 -4
- package/dist/{chunk-UDSXA7AL.cjs → chunk-S7OH2JEE.cjs} +2 -2
- package/dist/{chunk-N2QM4T3D.js → chunk-SXZICBIR.js} +2 -2
- package/dist/chunk-ULXUM6T3.cjs +34 -0
- package/dist/chunk-UWSABODX.js +31 -0
- package/dist/{chunk-SXQLYT2H.js → chunk-UXQMPRRF.js} +2 -2
- package/dist/{chunk-5ACQG5UA.js → chunk-XPRQFK7T.js} +3 -3
- package/dist/{chunk-S4I5DL5U.js → chunk-XQNFWNO4.js} +3 -3
- package/dist/{chunk-DJ7OEHR6.js → chunk-Y3DXEDVV.js} +3 -3
- package/dist/{chunk-TBICI24M.js → chunk-ZBOHY2FX.js} +4 -4
- package/dist/define-config.d.cts +1 -1
- package/dist/define-config.d.ts +1 -1
- package/dist/esbuild.cjs +7 -7
- package/dist/esbuild.d.cts +1 -1
- package/dist/esbuild.d.ts +1 -1
- package/dist/esbuild.js +4 -4
- package/dist/extend-plugin.cjs +13 -0
- package/dist/extend-plugin.d.cts +48 -0
- package/dist/extend-plugin.d.ts +48 -0
- package/dist/extend-plugin.js +4 -0
- package/dist/farm.cjs +4 -4
- package/dist/farm.d.cts +1 -1
- package/dist/farm.d.ts +1 -1
- package/dist/farm.js +3 -3
- package/dist/hooks-Bsux3yRH.d.cts +28 -0
- package/dist/hooks-DNo6rFyJ.d.ts +28 -0
- package/dist/index.cjs +27 -22
- package/dist/index.d.cts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +18 -17
- package/dist/internal/api.cjs +3 -3
- package/dist/internal/api.d.cts +2 -1
- package/dist/internal/api.d.ts +2 -1
- package/dist/internal/api.js +2 -2
- package/dist/lib/build/esbuild.d.cts +2 -2
- package/dist/lib/build/esbuild.d.ts +2 -2
- package/dist/lib/build/index.cjs +4 -4
- package/dist/lib/build/index.d.cts +3 -2
- package/dist/lib/build/index.d.ts +3 -2
- package/dist/lib/build/index.js +1 -1
- package/dist/lib/build/rolldown.d.cts +2 -2
- package/dist/lib/build/rolldown.d.ts +2 -2
- package/dist/lib/build/rollup.d.cts +2 -2
- package/dist/lib/build/rollup.d.ts +2 -2
- package/dist/lib/build/rspack.d.cts +2 -2
- package/dist/lib/build/rspack.d.ts +2 -2
- package/dist/lib/build/tsup.d.cts +2 -2
- package/dist/lib/build/tsup.d.ts +2 -2
- package/dist/lib/build/unbuild.cjs +4 -4
- package/dist/lib/build/unbuild.d.cts +22 -3
- package/dist/lib/build/unbuild.d.ts +22 -3
- package/dist/lib/build/unbuild.js +1 -1
- package/dist/lib/build/vite.d.cts +2 -2
- package/dist/lib/build/vite.d.ts +2 -2
- package/dist/lib/build/webpack.d.cts +2 -2
- package/dist/lib/build/webpack.d.ts +2 -2
- package/dist/lib/{chunk-TJURBPBY.cjs → chunk-6WVUO7M4.cjs} +3 -3
- package/dist/lib/chunk-6WVUO7M4.cjs.map +1 -0
- package/dist/lib/{chunk-RAMRPMFI.js → chunk-76ZPTPDX.js} +3 -4
- package/dist/lib/chunk-76ZPTPDX.js.map +1 -0
- package/dist/lib/{chunk-W6ZSRUY2.cjs → chunk-7IBV47QK.cjs} +2 -3
- package/dist/lib/chunk-7IBV47QK.cjs.map +1 -0
- package/dist/lib/{chunk-UGV446VO.cjs → chunk-7QV523K6.cjs} +3 -4
- package/dist/lib/chunk-7QV523K6.cjs.map +1 -0
- package/dist/lib/{chunk-OY2CMFTJ.js → chunk-B74JOQLB.js} +2 -3
- package/dist/lib/chunk-B74JOQLB.js.map +1 -0
- package/dist/lib/{chunk-YO7VJP6Z.cjs → chunk-K5WQ3PLT.cjs} +36 -31
- package/dist/lib/chunk-K5WQ3PLT.cjs.map +1 -0
- package/dist/lib/{chunk-T6FKCZRX.js → chunk-XOHGJW5P.js} +3 -3
- package/dist/lib/chunk-XOHGJW5P.js.map +1 -0
- package/dist/lib/{chunk-QZUPXK3A.js → chunk-XXK5BM6Z.js} +23 -18
- package/dist/lib/chunk-XXK5BM6Z.js.map +1 -0
- package/dist/lib/{config-CHVR37vX.d.ts → config-CNAXWorR.d.ts} +11 -53
- package/dist/lib/{config-DoR-gOOH.d.cts → config-Db6OT19W.d.cts} +11 -53
- package/dist/lib/config-file.d.cts +2 -2
- package/dist/lib/config-file.d.ts +2 -2
- package/dist/lib/deepkit/index.cjs +1 -1
- package/dist/lib/deepkit/index.d.cts +2 -2
- package/dist/lib/deepkit/index.d.ts +2 -2
- package/dist/lib/deepkit/index.js +1 -1
- package/dist/lib/deepkit/reflect-type.cjs +1 -1
- package/dist/lib/deepkit/reflect-type.d.cts +2 -2
- package/dist/lib/deepkit/reflect-type.d.ts +2 -2
- package/dist/lib/deepkit/reflect-type.js +1 -1
- package/dist/lib/deepkit/resolve-reflections.d.cts +2 -2
- package/dist/lib/deepkit/resolve-reflections.d.ts +2 -2
- package/dist/lib/deepkit/transformer.d.cts +2 -2
- package/dist/lib/deepkit/transformer.d.ts +2 -2
- package/dist/lib/entry.d.cts +2 -2
- package/dist/lib/entry.d.ts +2 -2
- package/dist/lib/hooks-Do13PWjN.d.cts +28 -0
- package/dist/lib/hooks-PaFdWKMh.d.ts +28 -0
- package/dist/lib/index.cjs +19 -19
- package/dist/lib/index.d.cts +3 -2
- package/dist/lib/index.d.ts +3 -2
- package/dist/lib/index.js +4 -4
- package/dist/lib/logger.d.cts +2 -2
- package/dist/lib/logger.d.ts +2 -2
- package/dist/lib/typescript/compiler-host.d.cts +2 -2
- package/dist/lib/typescript/compiler-host.d.ts +2 -2
- package/dist/lib/typescript/import-transformer.d.cts +2 -2
- package/dist/lib/typescript/import-transformer.d.ts +2 -2
- package/dist/lib/typescript/index.d.cts +2 -2
- package/dist/lib/typescript/index.d.ts +2 -2
- package/dist/lib/typescript/program.d.cts +2 -2
- package/dist/lib/typescript/program.d.ts +2 -2
- package/dist/lib/typescript/transpile.d.cts +2 -2
- package/dist/lib/typescript/transpile.d.ts +2 -2
- package/dist/lib/unplugin/factory.cjs +3 -3
- package/dist/lib/unplugin/factory.d.cts +3 -2
- package/dist/lib/unplugin/factory.d.ts +3 -2
- package/dist/lib/unplugin/factory.js +2 -2
- package/dist/lib/unplugin/index.cjs +5 -5
- package/dist/lib/unplugin/index.d.cts +3 -2
- package/dist/lib/unplugin/index.d.ts +3 -2
- package/dist/lib/unplugin/index.js +3 -3
- package/dist/lib/unplugin/plugin.cjs +2 -2
- package/dist/lib/unplugin/plugin.d.cts +2 -2
- package/dist/lib/unplugin/plugin.d.ts +2 -2
- package/dist/lib/unplugin/plugin.js +1 -1
- package/dist/lib/unplugin/resolve-id.d.cts +2 -2
- package/dist/lib/unplugin/resolve-id.d.ts +2 -2
- package/dist/lib/utilities/file-header.d.cts +2 -2
- package/dist/lib/utilities/file-header.d.ts +2 -2
- package/dist/lib/utilities/index.cjs +14 -14
- package/dist/lib/utilities/index.d.cts +2 -2
- package/dist/lib/utilities/index.d.ts +2 -2
- package/dist/lib/utilities/index.js +1 -1
- package/dist/lib/utilities/meta.d.cts +2 -2
- package/dist/lib/utilities/meta.d.ts +2 -2
- package/dist/lib/utilities/plugin-helpers.cjs +14 -14
- package/dist/lib/utilities/plugin-helpers.d.cts +1 -1
- package/dist/lib/utilities/plugin-helpers.d.ts +1 -1
- package/dist/lib/utilities/plugin-helpers.js +1 -1
- package/dist/lib/utilities/resolve-path.d.cts +2 -2
- package/dist/lib/utilities/resolve-path.d.ts +2 -2
- package/dist/lib/utilities/worker.d.cts +2 -2
- package/dist/lib/utilities/worker.d.ts +2 -2
- package/dist/lib/utilities/write-file.d.cts +2 -2
- package/dist/lib/utilities/write-file.d.ts +2 -2
- package/dist/next.cjs +8 -8
- package/dist/next.js +5 -5
- package/dist/nuxt.cjs +9 -9
- package/dist/nuxt.js +6 -6
- package/dist/{resolved-FsbyTSdi.d.cts → resolved-DcBls4aH.d.cts} +142 -186
- package/dist/{resolved-BAlwv88V.d.ts → resolved-vAIx5R3j.d.ts} +142 -186
- package/dist/rolldown.cjs +7 -7
- package/dist/rolldown.d.cts +1 -1
- package/dist/rolldown.d.ts +1 -1
- package/dist/rolldown.js +4 -4
- package/dist/rollup.cjs +7 -7
- package/dist/rollup.d.cts +1 -1
- package/dist/rollup.d.ts +1 -1
- package/dist/rollup.js +4 -4
- package/dist/rspack.cjs +7 -7
- package/dist/rspack.d.cts +1 -1
- package/dist/rspack.d.ts +1 -1
- package/dist/rspack.js +4 -4
- package/dist/tsup.cjs +8 -8
- package/dist/tsup.js +5 -5
- package/dist/types/babel.d.cts +1 -1
- package/dist/types/babel.d.ts +1 -1
- package/dist/types/commands.d.cts +1 -1
- package/dist/types/commands.d.ts +1 -1
- package/dist/types/compiler.d.cts +1 -1
- package/dist/types/compiler.d.ts +1 -1
- package/dist/types/config.d.cts +1 -1
- package/dist/types/config.d.ts +1 -1
- package/dist/types/context.cjs +2 -2
- package/dist/types/context.d.cts +1 -1
- package/dist/types/context.d.ts +1 -1
- package/dist/types/context.js +1 -1
- package/dist/types/hooks.d.cts +1 -1
- package/dist/types/hooks.d.ts +1 -1
- package/dist/types/index.cjs +4 -4
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +2 -2
- package/dist/types/internal.cjs +4 -0
- package/dist/types/internal.cjs.map +1 -0
- package/dist/types/internal.d.cts +61 -0
- package/dist/types/internal.d.ts +61 -0
- package/dist/types/internal.js +3 -0
- package/dist/types/internal.js.map +1 -0
- package/dist/types/plugin.cjs +2 -2
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.ts +1 -1
- package/dist/types/plugin.js +1 -1
- package/dist/types/resolved.d.cts +1 -1
- package/dist/types/resolved.d.ts +1 -1
- package/dist/types/unplugin.d.cts +1 -1
- package/dist/types/unplugin.d.ts +1 -1
- package/dist/unloader.cjs +7 -7
- package/dist/unloader.d.cts +1 -1
- package/dist/unloader.d.ts +1 -1
- package/dist/unloader.js +4 -4
- package/dist/unplugin.cjs +18 -18
- package/dist/unplugin.d.cts +2 -1
- package/dist/unplugin.d.ts +2 -1
- package/dist/unplugin.js +15 -15
- package/dist/vite.cjs +7 -7
- package/dist/vite.d.cts +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.js +4 -4
- package/dist/webpack.cjs +7 -7
- package/dist/webpack.d.cts +1 -1
- package/dist/webpack.d.ts +1 -1
- package/dist/webpack.js +4 -4
- package/package.json +65 -51
- package/dist/chunk-3UC4BQUF.cjs +0 -12
- package/dist/chunk-5N6IHHFL.cjs +0 -12
- package/dist/chunk-7XTLR5US.cjs +0 -12
- package/dist/chunk-BMCONDG7.cjs +0 -12
- package/dist/chunk-H2CDRBLH.cjs +0 -24
- package/dist/chunk-KZKUYJFE.cjs +0 -34
- package/dist/chunk-LKIMLMOB.cjs +0 -12
- package/dist/chunk-OFLJD3YF.js +0 -31
- package/dist/lib/chunk-OY2CMFTJ.js.map +0 -1
- package/dist/lib/chunk-QZUPXK3A.js.map +0 -1
- package/dist/lib/chunk-RAMRPMFI.js.map +0 -1
- package/dist/lib/chunk-T6FKCZRX.js.map +0 -1
- package/dist/lib/chunk-TJURBPBY.cjs.map +0 -1
- package/dist/lib/chunk-UGV446VO.cjs.map +0 -1
- package/dist/lib/chunk-W6ZSRUY2.cjs.map +0 -1
- package/dist/lib/chunk-YO7VJP6Z.cjs.map +0 -1
|
@@ -1580,6 +1580,138 @@ declare class SerializedTypes extends $.Struct {
|
|
|
1580
1580
|
toString(): string;
|
|
1581
1581
|
}
|
|
1582
1582
|
|
|
1583
|
+
/**
|
|
1584
|
+
* The result of the compiler
|
|
1585
|
+
*/
|
|
1586
|
+
type CompilerResult = {
|
|
1587
|
+
code: string;
|
|
1588
|
+
map: SourceMap | null;
|
|
1589
|
+
} | undefined;
|
|
1590
|
+
/**
|
|
1591
|
+
* The format for providing source code to the compiler
|
|
1592
|
+
*/
|
|
1593
|
+
interface SourceFile {
|
|
1594
|
+
/**
|
|
1595
|
+
* The name of the file to be compiled
|
|
1596
|
+
*/
|
|
1597
|
+
id: string;
|
|
1598
|
+
/**
|
|
1599
|
+
* The source code to be compiled
|
|
1600
|
+
*/
|
|
1601
|
+
code: MagicString;
|
|
1602
|
+
/**
|
|
1603
|
+
* The environment variables used in the source code
|
|
1604
|
+
*/
|
|
1605
|
+
env: string[];
|
|
1606
|
+
/**
|
|
1607
|
+
* The transpiled source code
|
|
1608
|
+
*/
|
|
1609
|
+
result?: CompilerResult;
|
|
1610
|
+
}
|
|
1611
|
+
interface TranspilerOptions {
|
|
1612
|
+
/**
|
|
1613
|
+
* The reflection mode to use for the transformation.
|
|
1614
|
+
*
|
|
1615
|
+
* @defaultValue "default"
|
|
1616
|
+
*/
|
|
1617
|
+
reflectionMode?: ReflectionMode;
|
|
1618
|
+
/**
|
|
1619
|
+
* The reflection level to use for the transformation.
|
|
1620
|
+
*
|
|
1621
|
+
* @defaultValue "minimal"
|
|
1622
|
+
*/
|
|
1623
|
+
reflectionLevel?: ReflectionLevel;
|
|
1624
|
+
}
|
|
1625
|
+
interface CompilerOptions<TContext = any> extends TranspilerOptions {
|
|
1626
|
+
/**
|
|
1627
|
+
* Skip the cache.
|
|
1628
|
+
*
|
|
1629
|
+
* @defaultValue false
|
|
1630
|
+
*/
|
|
1631
|
+
skipCache?: boolean;
|
|
1632
|
+
/**
|
|
1633
|
+
* Transform the source file before other transformations.
|
|
1634
|
+
*
|
|
1635
|
+
* @param context - The context object
|
|
1636
|
+
* @param source - The source file
|
|
1637
|
+
* @returns The transformed source file
|
|
1638
|
+
*/
|
|
1639
|
+
onPreTransform?: (context: TContext, source: SourceFile) => MaybePromise<SourceFile>;
|
|
1640
|
+
/**
|
|
1641
|
+
* Transform the source file after transformations.
|
|
1642
|
+
*
|
|
1643
|
+
* @param context - The context object
|
|
1644
|
+
* @param source - The source file
|
|
1645
|
+
* @returns The transformed source file
|
|
1646
|
+
*/
|
|
1647
|
+
onPostTransform?: (context: TContext, source: SourceFile) => MaybePromise<SourceFile>;
|
|
1648
|
+
/**
|
|
1649
|
+
* A filter function to determine if the source file should be compiled.
|
|
1650
|
+
*
|
|
1651
|
+
* @param sourceFile - The source file
|
|
1652
|
+
* @returns Whether the source file should be compiled
|
|
1653
|
+
*/
|
|
1654
|
+
filter?: (sourceFile: SourceFile) => boolean;
|
|
1655
|
+
/**
|
|
1656
|
+
* Skip all transformations.
|
|
1657
|
+
*
|
|
1658
|
+
* @defaultValue false
|
|
1659
|
+
*/
|
|
1660
|
+
skipAllTransforms?: boolean;
|
|
1661
|
+
/**
|
|
1662
|
+
* Skip the unimport transformation.
|
|
1663
|
+
*
|
|
1664
|
+
* @defaultValue false
|
|
1665
|
+
*/
|
|
1666
|
+
skipTransformUnimport?: boolean;
|
|
1667
|
+
/**
|
|
1668
|
+
* Override the Babel options for the transformation.
|
|
1669
|
+
*/
|
|
1670
|
+
babel?: Partial<BabelResolvedConfig>;
|
|
1671
|
+
}
|
|
1672
|
+
interface CompilerInterface {
|
|
1673
|
+
/**
|
|
1674
|
+
* Get the result of the compiler.
|
|
1675
|
+
*
|
|
1676
|
+
* @param sourceFile - The source file.
|
|
1677
|
+
* @param transpiled - The transpiled source code.
|
|
1678
|
+
* @returns The result of the compiler.
|
|
1679
|
+
*/
|
|
1680
|
+
getResult: (sourceFile: SourceFile, transpiled?: string) => CompilerResult;
|
|
1681
|
+
/**
|
|
1682
|
+
* Transpile the module.
|
|
1683
|
+
*
|
|
1684
|
+
* @param code - The source code to transpile
|
|
1685
|
+
* @param id - The name of the file to transpile
|
|
1686
|
+
* @param options - The transpile options
|
|
1687
|
+
* @returns The transpiled module.
|
|
1688
|
+
*/
|
|
1689
|
+
transpile: (code: string | MagicString, id: string, options?: TranspilerOptions) => Promise<string>;
|
|
1690
|
+
/**
|
|
1691
|
+
* Transform the module.
|
|
1692
|
+
*
|
|
1693
|
+
* @param code - The source code to transpile
|
|
1694
|
+
* @param id - The name of the file to transpile
|
|
1695
|
+
* @param options - The transpile options
|
|
1696
|
+
* @returns The transpiled module.
|
|
1697
|
+
*/
|
|
1698
|
+
transform: (code: string | MagicString, id: string, options?: CompilerOptions) => Promise<string>;
|
|
1699
|
+
/**
|
|
1700
|
+
* Run the compiler.
|
|
1701
|
+
*
|
|
1702
|
+
* @param code - The source code to compile
|
|
1703
|
+
* @param id - The name of the file to compile
|
|
1704
|
+
* @param options - The compiler options
|
|
1705
|
+
* @returns The compiled source code
|
|
1706
|
+
*/
|
|
1707
|
+
compile: (code: string | MagicString, id: string, options?: CompilerOptions) => Promise<string>;
|
|
1708
|
+
}
|
|
1709
|
+
declare type __ΩCompilerResult = any[];
|
|
1710
|
+
declare type __ΩSourceFile = any[];
|
|
1711
|
+
declare type __ΩTranspilerOptions = any[];
|
|
1712
|
+
declare type __ΩCompilerOptions = any[];
|
|
1713
|
+
declare type __ΩCompilerInterface = any[];
|
|
1714
|
+
|
|
1583
1715
|
declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "release", "finalize"];
|
|
1584
1716
|
type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
|
|
1585
1717
|
type Commands<TContext extends Context = Context> = Record<CommandType, (this: TContext) => MaybePromise<void>>;
|
|
@@ -1776,16 +1908,16 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
1776
1908
|
* A function to determine if two plugins are the same and can be de-duplicated.
|
|
1777
1909
|
*
|
|
1778
1910
|
* @remarks
|
|
1779
|
-
* If this is not provided,
|
|
1911
|
+
* If this is not provided, plugins are de-duplicated by comparing their names.
|
|
1780
1912
|
*
|
|
1781
1913
|
* @param other - The other plugin to compare against.
|
|
1782
1914
|
* @returns `true` if the two plugins are the same, `false` otherwise.
|
|
1783
1915
|
*/
|
|
1784
|
-
dedupe?: false | ((other:
|
|
1916
|
+
dedupe?: false | ((other: Plugin<any>) => boolean);
|
|
1785
1917
|
/**
|
|
1786
1918
|
* A list of pre-requisite plugins that must be loaded before this plugin can be used.
|
|
1787
1919
|
*/
|
|
1788
|
-
dependsOn?: PluginConfig<
|
|
1920
|
+
dependsOn?: PluginConfig<any>[];
|
|
1789
1921
|
/**
|
|
1790
1922
|
* Define environments where this plugin should be active. By default, the plugin is active in all environments.
|
|
1791
1923
|
*
|
|
@@ -1852,163 +1984,6 @@ declare type __ΩInferHookReturnType = any[];
|
|
|
1852
1984
|
declare type __ΩInferHookParameters = any[];
|
|
1853
1985
|
declare type __ΩInferHookThisType = any[];
|
|
1854
1986
|
|
|
1855
|
-
type CallHookOptions = SelectHooksOptions & ({
|
|
1856
|
-
/**
|
|
1857
|
-
* Whether to call the hooks sequentially or in parallel.
|
|
1858
|
-
*
|
|
1859
|
-
* @defaultValue true
|
|
1860
|
-
*/
|
|
1861
|
-
sequential?: true;
|
|
1862
|
-
/**
|
|
1863
|
-
* How to handle multiple return values from hooks.
|
|
1864
|
-
* - "merge": Merge all non-undefined return values (if they are objects).
|
|
1865
|
-
* - "first": Return the first non-undefined value.
|
|
1866
|
-
*
|
|
1867
|
-
* @remarks
|
|
1868
|
-
* Merging only works if the return values are objects.
|
|
1869
|
-
*
|
|
1870
|
-
* @defaultValue "merge"
|
|
1871
|
-
*/
|
|
1872
|
-
result?: "merge" | "first";
|
|
1873
|
-
} | {
|
|
1874
|
-
/**
|
|
1875
|
-
* Whether to call the hooks sequentially or in parallel.
|
|
1876
|
-
*/
|
|
1877
|
-
sequential: false;
|
|
1878
|
-
});
|
|
1879
|
-
|
|
1880
|
-
/**
|
|
1881
|
-
* The result of the compiler
|
|
1882
|
-
*/
|
|
1883
|
-
type CompilerResult = {
|
|
1884
|
-
code: string;
|
|
1885
|
-
map: SourceMap | null;
|
|
1886
|
-
} | undefined;
|
|
1887
|
-
/**
|
|
1888
|
-
* The format for providing source code to the compiler
|
|
1889
|
-
*/
|
|
1890
|
-
interface SourceFile {
|
|
1891
|
-
/**
|
|
1892
|
-
* The name of the file to be compiled
|
|
1893
|
-
*/
|
|
1894
|
-
id: string;
|
|
1895
|
-
/**
|
|
1896
|
-
* The source code to be compiled
|
|
1897
|
-
*/
|
|
1898
|
-
code: MagicString;
|
|
1899
|
-
/**
|
|
1900
|
-
* The environment variables used in the source code
|
|
1901
|
-
*/
|
|
1902
|
-
env: string[];
|
|
1903
|
-
/**
|
|
1904
|
-
* The transpiled source code
|
|
1905
|
-
*/
|
|
1906
|
-
result?: CompilerResult;
|
|
1907
|
-
}
|
|
1908
|
-
interface TranspilerOptions {
|
|
1909
|
-
/**
|
|
1910
|
-
* The reflection mode to use for the transformation.
|
|
1911
|
-
*
|
|
1912
|
-
* @defaultValue "default"
|
|
1913
|
-
*/
|
|
1914
|
-
reflectionMode?: ReflectionMode;
|
|
1915
|
-
/**
|
|
1916
|
-
* The reflection level to use for the transformation.
|
|
1917
|
-
*
|
|
1918
|
-
* @defaultValue "minimal"
|
|
1919
|
-
*/
|
|
1920
|
-
reflectionLevel?: ReflectionLevel;
|
|
1921
|
-
}
|
|
1922
|
-
interface CompilerOptions<TContext = any> extends TranspilerOptions {
|
|
1923
|
-
/**
|
|
1924
|
-
* Skip the cache.
|
|
1925
|
-
*
|
|
1926
|
-
* @defaultValue false
|
|
1927
|
-
*/
|
|
1928
|
-
skipCache?: boolean;
|
|
1929
|
-
/**
|
|
1930
|
-
* Transform the source file before other transformations.
|
|
1931
|
-
*
|
|
1932
|
-
* @param context - The context object
|
|
1933
|
-
* @param source - The source file
|
|
1934
|
-
* @returns The transformed source file
|
|
1935
|
-
*/
|
|
1936
|
-
onPreTransform?: (context: TContext, source: SourceFile) => MaybePromise<SourceFile>;
|
|
1937
|
-
/**
|
|
1938
|
-
* Transform the source file after transformations.
|
|
1939
|
-
*
|
|
1940
|
-
* @param context - The context object
|
|
1941
|
-
* @param source - The source file
|
|
1942
|
-
* @returns The transformed source file
|
|
1943
|
-
*/
|
|
1944
|
-
onPostTransform?: (context: TContext, source: SourceFile) => MaybePromise<SourceFile>;
|
|
1945
|
-
/**
|
|
1946
|
-
* A filter function to determine if the source file should be compiled.
|
|
1947
|
-
*
|
|
1948
|
-
* @param sourceFile - The source file
|
|
1949
|
-
* @returns Whether the source file should be compiled
|
|
1950
|
-
*/
|
|
1951
|
-
filter?: (sourceFile: SourceFile) => boolean;
|
|
1952
|
-
/**
|
|
1953
|
-
* Skip all transformations.
|
|
1954
|
-
*
|
|
1955
|
-
* @defaultValue false
|
|
1956
|
-
*/
|
|
1957
|
-
skipAllTransforms?: boolean;
|
|
1958
|
-
/**
|
|
1959
|
-
* Skip the unimport transformation.
|
|
1960
|
-
*
|
|
1961
|
-
* @defaultValue false
|
|
1962
|
-
*/
|
|
1963
|
-
skipTransformUnimport?: boolean;
|
|
1964
|
-
/**
|
|
1965
|
-
* Override the Babel options for the transformation.
|
|
1966
|
-
*/
|
|
1967
|
-
babel?: Partial<BabelResolvedConfig>;
|
|
1968
|
-
}
|
|
1969
|
-
interface CompilerInterface {
|
|
1970
|
-
/**
|
|
1971
|
-
* Get the result of the compiler.
|
|
1972
|
-
*
|
|
1973
|
-
* @param sourceFile - The source file.
|
|
1974
|
-
* @param transpiled - The transpiled source code.
|
|
1975
|
-
* @returns The result of the compiler.
|
|
1976
|
-
*/
|
|
1977
|
-
getResult: (sourceFile: SourceFile, transpiled?: string) => CompilerResult;
|
|
1978
|
-
/**
|
|
1979
|
-
* Transpile the module.
|
|
1980
|
-
*
|
|
1981
|
-
* @param code - The source code to transpile
|
|
1982
|
-
* @param id - The name of the file to transpile
|
|
1983
|
-
* @param options - The transpile options
|
|
1984
|
-
* @returns The transpiled module.
|
|
1985
|
-
*/
|
|
1986
|
-
transpile: (code: string | MagicString, id: string, options?: TranspilerOptions) => Promise<string>;
|
|
1987
|
-
/**
|
|
1988
|
-
* Transform the module.
|
|
1989
|
-
*
|
|
1990
|
-
* @param code - The source code to transpile
|
|
1991
|
-
* @param id - The name of the file to transpile
|
|
1992
|
-
* @param options - The transpile options
|
|
1993
|
-
* @returns The transpiled module.
|
|
1994
|
-
*/
|
|
1995
|
-
transform: (code: string | MagicString, id: string, options?: CompilerOptions) => Promise<string>;
|
|
1996
|
-
/**
|
|
1997
|
-
* Run the compiler.
|
|
1998
|
-
*
|
|
1999
|
-
* @param code - The source code to compile
|
|
2000
|
-
* @param id - The name of the file to compile
|
|
2001
|
-
* @param options - The compiler options
|
|
2002
|
-
* @returns The compiled source code
|
|
2003
|
-
*/
|
|
2004
|
-
compile: (code: string | MagicString, id: string, options?: CompilerOptions) => Promise<string>;
|
|
2005
|
-
}
|
|
2006
|
-
declare type __ΩCompilerResult = any[];
|
|
2007
|
-
declare type __ΩSourceFile = any[];
|
|
2008
|
-
declare type __ΩTranspilerOptions = any[];
|
|
2009
|
-
declare type __ΩCompilerOptions = any[];
|
|
2010
|
-
declare type __ΩCompilerInterface = any[];
|
|
2011
|
-
|
|
2012
1987
|
/**
|
|
2013
1988
|
* The severity level of a {@link LogRecord}.
|
|
2014
1989
|
*/
|
|
@@ -2317,23 +2292,6 @@ interface PluginContext<out TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
2317
2292
|
logger: LogFn;
|
|
2318
2293
|
}
|
|
2319
2294
|
type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = PluginContext<TResolvedConfig> & UnpluginBuildContext;
|
|
2320
|
-
/**
|
|
2321
|
-
* Internal fields and methods for the internal plugin context
|
|
2322
|
-
*
|
|
2323
|
-
* @internal
|
|
2324
|
-
*/
|
|
2325
|
-
interface Internal_PluginContextInternal<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
|
|
2326
|
-
environment: EnvironmentContext<TResolvedConfig>;
|
|
2327
|
-
callHook: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(hook: TKey, options: CallHookOptions, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey> | undefined>;
|
|
2328
|
-
}
|
|
2329
|
-
/**
|
|
2330
|
-
* An internal representation of the plugin context, used for managing hooks and environment data.
|
|
2331
|
-
*
|
|
2332
|
-
* @internal
|
|
2333
|
-
*/
|
|
2334
|
-
interface Internal_PluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> extends PluginContext<TResolvedConfig> {
|
|
2335
|
-
$$internal: Internal_PluginContextInternal<TResolvedConfig>;
|
|
2336
|
-
}
|
|
2337
2295
|
interface SerializedVirtualFileSystem {
|
|
2338
2296
|
builtinIdMap: Record<string, string>;
|
|
2339
2297
|
virtualFiles: DirectoryJSON<string | null>;
|
|
@@ -2354,8 +2312,6 @@ declare type __ΩEnvironmentContextPlugin = any[];
|
|
|
2354
2312
|
declare type __ΩEnvironmentContext = any[];
|
|
2355
2313
|
declare type __ΩPluginContext = any[];
|
|
2356
2314
|
declare type __ΩBuildPluginContext = any[];
|
|
2357
|
-
declare type __ΩInternal_PluginContextInternal = any[];
|
|
2358
|
-
declare type __ΩInternal_PluginContext = any[];
|
|
2359
2315
|
declare type __ΩSerializedVirtualFileSystem = any[];
|
|
2360
2316
|
|
|
2361
2317
|
interface NamedImportDefinition {
|
|
@@ -2437,17 +2393,17 @@ type LogFn = (type: LogLevelLabel, ...args: string[]) => void;
|
|
|
2437
2393
|
* The {@link StormWorkspaceConfig | configuration} object for an entire Powerlines workspace
|
|
2438
2394
|
*/
|
|
2439
2395
|
type WorkspaceConfig = Partial<StormWorkspaceConfig> & Required<Pick<StormWorkspaceConfig, "workspaceRoot">>;
|
|
2440
|
-
type PluginFactory<
|
|
2396
|
+
type PluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<Plugin<TContext>>;
|
|
2441
2397
|
/**
|
|
2442
2398
|
* A configuration tuple for a Powerlines plugin.
|
|
2443
2399
|
*/
|
|
2444
|
-
type PluginConfigTuple<
|
|
2400
|
+
type PluginConfigTuple<TContext extends PluginContext = PluginContext, TOptions = any> = [string | PluginFactory<TContext, TOptions>, TOptions] | [Plugin<TContext>];
|
|
2445
2401
|
/**
|
|
2446
2402
|
* A configuration object for a Powerlines plugin.
|
|
2447
2403
|
*/
|
|
2448
|
-
type PluginConfigObject<
|
|
2449
|
-
plugin: string | PluginFactory<
|
|
2450
|
-
options:
|
|
2404
|
+
type PluginConfigObject<TContext extends PluginContext = PluginContext, TOptions = any> = {
|
|
2405
|
+
plugin: string | PluginFactory<TContext, TOptions>;
|
|
2406
|
+
options: TOptions;
|
|
2451
2407
|
} | {
|
|
2452
2408
|
plugin: Plugin<TContext>;
|
|
2453
2409
|
options?: never;
|
|
@@ -2455,7 +2411,7 @@ type PluginConfigObject<TProps = unknown, TContext extends PluginContext = Plugi
|
|
|
2455
2411
|
/**
|
|
2456
2412
|
* A configuration tuple for a Powerlines plugin.
|
|
2457
2413
|
*/
|
|
2458
|
-
type PluginConfig<TContext extends PluginContext = PluginContext
|
|
2414
|
+
type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Promise<Plugin<TContext>> | PluginConfigTuple<TContext> | PluginConfigObject<TContext>;
|
|
2459
2415
|
type ProjectType = "application" | "library";
|
|
2460
2416
|
type BabelUserConfig = Parameters<typeof transformAsync>[1] & {
|
|
2461
2417
|
/**
|
|
@@ -2935,4 +2891,4 @@ declare type __ΩUnbuildResolvedConfig = any[];
|
|
|
2935
2891
|
declare type __ΩFarmResolvedConfig = any[];
|
|
2936
2892
|
declare type __ΩInferResolvedConfig = any[];
|
|
2937
2893
|
|
|
2938
|
-
export { type UserConfig as $, type CompilerInterface as A, type BabelPluginPass as B, type CommandType as C, type DefaultImportDefinition as D, type __ΩCompilerResult as E, type __ΩSourceFile as F, type __ΩTranspilerOptions as G, type __ΩCompilerOptions as H, type ImportDefinition as I, type __ΩCompilerInterface as J, type PluginConfigTuple as K, type LogFn as L, type PluginConfigObject as M, type NamedImportDefinition as N, type PluginConfig as O, type PluginFactory as P, type ProjectType as Q, type ResolvedBabelTransformPluginOptions as R, SUPPORTED_COMMANDS as S, type TranspilerOptions as T, type BabelUserConfig as U, type OutputConfig as V, type WorkspaceConfig as W, type BaseConfig as X, type EnvironmentConfig as Y, type CommonUserConfig as Z, type __ΩNamedImportDefinition as _, type BabelTransformPluginFilter as a, type __ΩUserConfigFnObject as a$, type WebpackUserConfig as a0, type RspackUserConfig as a1, type RollupUserConfig as a2, type RolldownUserConfig as a3, type ViteUserConfig as a4, type ESBuildUserConfig as a5, type UnbuildUserConfig as a6, type TsupUserConfig as a7, type FarmUserConfig as a8, type InferUserConfig as a9, type __ΩBaseConfig as aA, type __ΩEnvironmentConfig as aB, type __ΩCommonUserConfig as aC, type __ΩUserConfig as aD, type __ΩWebpackUserConfig as aE, type __ΩRspackUserConfig as aF, type __ΩRollupUserConfig as aG, type __ΩRolldownUserConfig as aH, type __ΩViteUserConfig as aI, type __ΩESBuildUserConfig as aJ, type __ΩUnbuildUserConfig as aK, type __ΩTsupUserConfig as aL, type __ΩFarmUserConfig as aM, type __ΩInferUserConfig as aN, type __ΩInitialUserConfig as aO, type __ΩParsedUserConfig as aP, type __ΩPowerlinesCommand as aQ, type __ΩInlineConfig as aR, type __ΩNewInlineConfig as aS, type __ΩCleanInlineConfig as aT, type __ΩPrepareInlineConfig as aU, type __ΩBuildInlineConfig as aV, type __ΩLintInlineConfig as aW, type __ΩDocsInlineConfig as aX, type __ΩReleaseInlineConfig as aY, type __ΩConfigEnv as aZ, type __ΩAnyUserConfig as a_, type InitialUserConfig as aa, type ParsedUserConfig as ab, type PowerlinesCommand as ac, type InlineConfig as ad, type NewInlineConfig as ae, type CleanInlineConfig as af, type PrepareInlineConfig as ag, type BuildInlineConfig as ah, type LintInlineConfig as ai, type DocsInlineConfig as aj, type ReleaseInlineConfig as ak, type ConfigEnv as al, type AnyUserConfig as am, type UserConfigFnObject as an, type UserConfigFnPromise as ao, type UserConfigFn as ap, type UserConfigExport as aq, type __ΩLogFn as ar, type __ΩWorkspaceConfig as as, type __ΩPluginFactory as at, type __ΩPluginConfigTuple as au, type __ΩPluginConfigObject as av, type __ΩPluginConfig as aw, type __ΩProjectType as ax, type __ΩBabelUserConfig as ay, type __ΩOutputConfig as az, type BabelTransformPlugin as b, type __Ω
|
|
2894
|
+
export { type UserConfig as $, type CompilerInterface as A, type BabelPluginPass as B, type CommandType as C, type DefaultImportDefinition as D, type __ΩCompilerResult as E, type __ΩSourceFile as F, type __ΩTranspilerOptions as G, type __ΩCompilerOptions as H, type ImportDefinition as I, type __ΩCompilerInterface as J, type PluginConfigTuple as K, type LogFn as L, type PluginConfigObject as M, type NamedImportDefinition as N, type PluginConfig as O, type PluginFactory as P, type ProjectType as Q, type ResolvedBabelTransformPluginOptions as R, SUPPORTED_COMMANDS as S, type TranspilerOptions as T, type BabelUserConfig as U, type OutputConfig as V, type WorkspaceConfig as W, type BaseConfig as X, type EnvironmentConfig as Y, type CommonUserConfig as Z, type __ΩNamedImportDefinition as _, type BabelTransformPluginFilter as a, type __ΩUserConfigFnObject as a$, type WebpackUserConfig as a0, type RspackUserConfig as a1, type RollupUserConfig as a2, type RolldownUserConfig as a3, type ViteUserConfig as a4, type ESBuildUserConfig as a5, type UnbuildUserConfig as a6, type TsupUserConfig as a7, type FarmUserConfig as a8, type InferUserConfig as a9, type __ΩBaseConfig as aA, type __ΩEnvironmentConfig as aB, type __ΩCommonUserConfig as aC, type __ΩUserConfig as aD, type __ΩWebpackUserConfig as aE, type __ΩRspackUserConfig as aF, type __ΩRollupUserConfig as aG, type __ΩRolldownUserConfig as aH, type __ΩViteUserConfig as aI, type __ΩESBuildUserConfig as aJ, type __ΩUnbuildUserConfig as aK, type __ΩTsupUserConfig as aL, type __ΩFarmUserConfig as aM, type __ΩInferUserConfig as aN, type __ΩInitialUserConfig as aO, type __ΩParsedUserConfig as aP, type __ΩPowerlinesCommand as aQ, type __ΩInlineConfig as aR, type __ΩNewInlineConfig as aS, type __ΩCleanInlineConfig as aT, type __ΩPrepareInlineConfig as aU, type __ΩBuildInlineConfig as aV, type __ΩLintInlineConfig as aW, type __ΩDocsInlineConfig as aX, type __ΩReleaseInlineConfig as aY, type __ΩConfigEnv as aZ, type __ΩAnyUserConfig as a_, type InitialUserConfig as aa, type ParsedUserConfig as ab, type PowerlinesCommand as ac, type InlineConfig as ad, type NewInlineConfig as ae, type CleanInlineConfig as af, type PrepareInlineConfig as ag, type BuildInlineConfig as ah, type LintInlineConfig as ai, type DocsInlineConfig as aj, type ReleaseInlineConfig as ak, type ConfigEnv as al, type AnyUserConfig as am, type UserConfigFnObject as an, type UserConfigFnPromise as ao, type UserConfigFn as ap, type UserConfigExport as aq, type __ΩLogFn as ar, type __ΩWorkspaceConfig as as, type __ΩPluginFactory as at, type __ΩPluginConfigTuple as au, type __ΩPluginConfigObject as av, type __ΩPluginConfig as aw, type __ΩProjectType as ax, type __ΩBabelUserConfig as ay, type __ΩOutputConfig as az, type BabelTransformPlugin as b, type __ΩInferHookParameters as b$, type __ΩUserConfigFnPromise as b0, type __ΩUserConfigFn as b1, type __ΩUserConfigExport as b2, LogLevel as b3, type WorkerProcess as b4, type MetaInfo as b5, type Resolver as b6, type UnimportContext as b7, type Reflection as b8, type ReflectionRecord as b9, type __ΩSerializedVirtualFileSystem as bA, type BaseHooks as bB, type BaseHookKeys as bC, type ExternalHooks as bD, type ExternalHookKeys as bE, type Hooks as bF, type HookKeys as bG, type BaseHooksListItem as bH, type BaseHooksList as bI, type ExternalHooksListItem as bJ, type HooksList as bK, type InferHookHandler as bL, type InferHookReturnType as bM, type InferHookParameters as bN, type InferHookThisType as bO, type __ΩBaseHooks as bP, type __ΩBaseHookKeys as bQ, type __ΩExternalHooks as bR, type __ΩExternalHookKeys as bS, type __ΩHooks as bT, type __ΩHookKeys as bU, type __ΩBaseHooksListItem as bV, type __ΩBaseHooksList as bW, type __ΩExternalHooksListItem as bX, type __ΩHooksList as bY, type __ΩInferHookHandler as bZ, type __ΩInferHookReturnType as b_, type ContextReflectionRecord as ba, type SelectHooksOptions as bb, type InitContextOptions as bc, type Context as bd, type APIContext as be, type EnvironmentContextPlugin as bf, type EnvironmentContext as bg, type PluginContext as bh, type BuildPluginContext as bi, type SerializedVirtualFileSystem as bj, type __ΩLogLevel as bk, type __ΩWorkerProcess as bl, type __ΩMetaInfo as bm, type __ΩResolver as bn, type __ΩUnimportContext as bo, type __ΩReflection as bp, type __ΩReflectionRecord as bq, type __ΩContextReflectionRecord as br, type __ΩSelectHooksOptions as bs, type __ΩInitContextOptions as bt, type __ΩContext as bu, type __ΩAPIContext as bv, type __ΩEnvironmentContextPlugin as bw, type __ΩEnvironmentContext as bx, type __ΩPluginContext as by, type __ΩBuildPluginContext as bz, type BabelTransformPluginOptions as c, type __ΩInferHookThisType as c0, type PluginHookObject as c1, type PluginHook as c2, type BasePluginHookFunctions as c3, type BuildPlugin as c4, type ExternalPluginHookFunctionsVariant as c5, type ExternalPluginHookFunctions as c6, type PluginHookFunctions as c7, type PluginHooks as c8, type PluginBuildPlugins as c9, type TsupResolvedConfig as cA, type UnbuildResolvedConfig as cB, type FarmResolvedConfig as cC, type InferResolvedConfig as cD, type __ΩResolvedEntryTypeDefinition as cE, type __ΩBabelResolvedConfig as cF, type __ΩEnvironmentResolvedConfig as cG, type __ΩResolvedAssetGlob as cH, type __ΩOutputResolvedConfig as cI, type __ΩResolvedConfig as cJ, type __ΩViteResolvedConfig as cK, type __ΩWebpackResolvedConfig as cL, type __ΩRspackResolvedConfig as cM, type __ΩESBuildResolvedConfig as cN, type __ΩRollupResolvedConfig as cO, type __ΩRolldownResolvedConfig as cP, type __ΩTsupResolvedConfig as cQ, type __ΩUnbuildResolvedConfig as cR, type __ΩFarmResolvedConfig as cS, type __ΩInferResolvedConfig as cT, type Plugin as ca, PLUGIN_NON_HOOK_FIELDS as cb, type PluginNonHookFields as cc, type __ΩPluginHookObject as cd, type __ΩPluginHook as ce, type __ΩBasePluginHookFunctions as cf, type __ΩBuildPlugin as cg, type __ΩExternalPluginHookFunctionsVariant as ch, type __ΩExternalPluginHookFunctions as ci, type __ΩPluginHookFunctions as cj, type __ΩPluginHooks as ck, type __ΩPluginBuildPlugins as cl, type __ΩPlugin as cm, type __ΩPluginNonHookFields as cn, type ResolvedEntryTypeDefinition as co, type BabelResolvedConfig as cp, type EnvironmentResolvedConfig as cq, type ResolvedAssetGlob as cr, type OutputResolvedConfig as cs, type ResolvedConfig as ct, type ViteResolvedConfig as cu, type WebpackResolvedConfig as cv, type RspackResolvedConfig as cw, type ESBuildResolvedConfig as cx, type RollupResolvedConfig as cy, type RolldownResolvedConfig as cz, type BabelTransformInput as d, type BabelTransformPluginBuilderParams as e, type BabelTransformPluginBuilder as f, type DeclareBabelTransformPluginReturn as g, type ImportSpecifier as h, type __ΩDefaultImportDefinition as i, type __ΩImportDefinition as j, type __ΩBabelPluginPass as k, type __ΩBabelTransformPluginFilter as l, type __ΩBabelTransformPlugin as m, type __ΩBabelTransformPluginOptions as n, type __ΩResolvedBabelTransformPluginOptions as o, type __ΩBabelTransformInput as p, type __ΩBabelTransformPluginBuilderParams as q, type __ΩBabelTransformPluginBuilder as r, type __ΩDeclareBabelTransformPluginReturn as s, type __ΩImportSpecifier as t, type Commands as u, type __ΩCommandType as v, type __ΩCommands as w, type CompilerResult as x, type SourceFile as y, type CompilerOptions as z };
|