@rspack-debug/browser 1.7.3 → 2.0.0-alpha.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/BuildInfo.d.ts +3 -3
- package/dist/Chunk.d.ts +3 -3
- package/dist/ChunkGraph.d.ts +2 -2
- package/dist/Chunks.d.ts +2 -2
- package/dist/Compilation.d.ts +3 -3
- package/dist/Compiler.d.ts +4 -2
- package/dist/ConcatenatedModule.d.ts +1 -1
- package/dist/ContextModule.d.ts +1 -1
- package/dist/Diagnostics.d.ts +1 -1
- package/dist/Entrypoint.d.ts +1 -1
- package/dist/ExportsInfo.d.ts +1 -1
- package/dist/ExternalModule.d.ts +1 -1
- package/dist/FileSystem.d.ts +1 -1
- package/dist/Module.d.ts +3 -3
- package/dist/ModuleGraph.d.ts +1 -1
- package/dist/MultiCompiler.d.ts +1 -1
- package/dist/NativeWatchFileSystem.d.ts +1 -1
- package/dist/NormalModule.d.ts +2 -2
- package/dist/NormalModuleFactory.d.ts +1 -1
- package/dist/Resolver.d.ts +1 -1
- package/dist/ResolverFactory.d.ts +1 -1
- package/dist/RspackError.d.ts +2 -2
- package/dist/RuntimeGlobals.d.ts +2 -2
- package/dist/RuntimeModule.d.ts +1 -1
- package/dist/builtin-loader/lightningcss/index.d.ts +11 -14
- package/dist/builtin-loader/lightningcss/target.d.ts +4 -0
- package/dist/builtin-loader/swc/index.d.ts +2 -2
- package/dist/builtin-loader/swc/types.d.ts +0 -6
- package/dist/builtin-plugin/BannerPlugin.d.ts +1 -1
- package/dist/builtin-plugin/CircularDependencyRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/CopyRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/CssChunkingPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DeterministicChunkIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DeterministicModuleIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DllReferenceAgencyPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DynamicEntryPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EnableChunkLoadingPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EnableLibraryPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EntryPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EsmLibraryPlugin.d.ts +2 -0
- package/dist/builtin-plugin/EvalDevToolModulePlugin.d.ts +1 -1
- package/dist/builtin-plugin/EvalSourceMapDevToolPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ExternalsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/FlagDependencyUsagePlugin.d.ts +1 -1
- package/dist/builtin-plugin/HotModuleReplacementPlugin.d.ts +1 -1
- package/dist/builtin-plugin/HttpUriPlugin.d.ts +1 -1
- package/dist/builtin-plugin/IgnorePlugin.d.ts +1 -1
- package/dist/builtin-plugin/JavascriptModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/JsLoaderRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/LightningCssMinimizerRspackPlugin.d.ts +5 -9
- package/dist/builtin-plugin/MangleExportsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ModuleConcatenationPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NaturalChunkIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NaturalModuleIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/OccurrenceChunkIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ProgressPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RsdoctorPlugin.d.ts +2 -6
- package/dist/builtin-plugin/RslibPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RstestPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RuntimeChunkPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RuntimePlugin.d.ts +1 -5
- package/dist/builtin-plugin/SourceMapDevToolPlugin.d.ts +1 -1
- package/dist/builtin-plugin/SplitChunksPlugin.d.ts +1 -1
- package/dist/builtin-plugin/SubresourceIntegrityPlugin.d.ts +2 -2
- package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +3 -2
- package/dist/builtin-plugin/WebWorkerTemplatePlugin.d.ts +1 -1
- package/dist/builtin-plugin/WorkerPlugin.d.ts +1 -1
- package/dist/builtin-plugin/base.d.ts +1 -1
- package/dist/builtin-plugin/css-extract/index.d.ts +1 -1
- package/dist/builtin-plugin/html-plugin/hooks.d.ts +1 -1
- package/dist/builtin-plugin/html-plugin/options.d.ts +0 -5
- package/dist/builtin-plugin/html-plugin/plugin.d.ts +2 -6
- package/dist/config/adapter.d.ts +1 -1
- package/dist/config/adapterRuleUse.d.ts +3 -2
- package/dist/config/defaults.d.ts +4 -2
- package/dist/config/normalization.d.ts +5 -33
- package/dist/config/target.d.ts +14 -11
- package/dist/config/types.d.ts +75 -152
- package/dist/container/ContainerPlugin.d.ts +1 -1
- package/dist/container/ContainerReferencePlugin.d.ts +1 -1
- package/dist/container/ModuleFederationManifestPlugin.d.ts +1 -1
- package/dist/container/ModuleFederationPlugin.d.ts +2 -0
- package/dist/container/ModuleFederationRuntimePlugin.d.ts +4 -0
- package/dist/exports.d.ts +6 -19
- package/dist/{index.mjs → index.js} +2549 -3874
- package/dist/lib/DllPlugin.d.ts +1 -1
- package/dist/lib/DllReferencePlugin.d.ts +3 -3
- package/dist/lib/WebpackError.d.ts +1 -1
- package/dist/loader-runner/index.d.ts +1 -1
- package/dist/loader-runner/worker.d.ts +1 -1
- package/dist/napi-binding.d.ts +46 -55
- package/dist/runtime/moduleFederationDefaultRuntime.d.ts +1 -2
- package/dist/sharing/ConsumeSharedPlugin.d.ts +1 -1
- package/dist/sharing/ProvideSharedPlugin.d.ts +1 -1
- package/dist/sharing/ShareRuntimePlugin.d.ts +1 -1
- package/dist/stats/StatsFactory.d.ts +1 -1
- package/dist/stats/statsFactoryUtils.d.ts +2 -5
- package/dist/swc.d.ts +1 -1
- package/dist/taps/compilation.d.ts +1 -1
- package/dist/taps/types.d.ts +1 -1
- package/dist/util/SplitChunkSize.d.ts +1 -1
- package/dist/util/source.d.ts +1 -1
- package/dist/util/targetsVersion.d.ts +2 -0
- package/package.json +2 -3
- package/dist/builtin-loader/index.d.ts +0 -1
- /package/dist/{index.mjs.LICENSE.txt → index.js.LICENSE.txt} +0 -0
- /package/dist/{rslib-runtime.mjs → rslib-runtime.js} +0 -0
package/dist/lib/DllPlugin.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Copyright (c) JS Foundation and other contributors
|
|
8
8
|
* https://github.com/webpack/webpack/blob/main/LICENSE
|
|
9
9
|
*/
|
|
10
|
-
import type { JsBuildMeta } from '
|
|
10
|
+
import type { JsBuildMeta } from '../binding';
|
|
11
11
|
import type { Compiler } from '../Compiler';
|
|
12
12
|
export type DllReferencePluginOptions = {
|
|
13
13
|
/**
|
|
@@ -31,7 +31,7 @@ export type DllReferencePluginOptions = {
|
|
|
31
31
|
*/
|
|
32
32
|
scope?: string;
|
|
33
33
|
/**
|
|
34
|
-
* How the dll is exposed (
|
|
34
|
+
* How the dll is exposed (library.type, defaults to manifest.type).
|
|
35
35
|
*/
|
|
36
36
|
sourceType?: DllReferencePluginOptionsSourceType;
|
|
37
37
|
/**
|
|
@@ -60,7 +60,7 @@ export type DllReferencePluginOptions = {
|
|
|
60
60
|
*/
|
|
61
61
|
scope?: string;
|
|
62
62
|
/**
|
|
63
|
-
* How the dll is exposed (
|
|
63
|
+
* How the dll is exposed (library.type).
|
|
64
64
|
*/
|
|
65
65
|
sourceType?: DllReferencePluginOptionsSourceType;
|
|
66
66
|
/**
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Copyright (c) JS Foundation and other contributors
|
|
8
8
|
* https://github.com/webpack/webpack/blob/main/LICENSE
|
|
9
9
|
*/
|
|
10
|
-
import type { DependencyLocation } from '
|
|
10
|
+
import type { DependencyLocation } from '../binding';
|
|
11
11
|
import type { Chunk } from '../Chunk';
|
|
12
12
|
import type { Module } from '../Module';
|
|
13
13
|
export declare class WebpackError extends Error {
|
package/dist/napi-binding.d.ts
CHANGED
|
@@ -1399,7 +1399,6 @@ export interface JsStatsModuleCommonAttributes {
|
|
|
1399
1399
|
failed?: boolean
|
|
1400
1400
|
errors?: number
|
|
1401
1401
|
warnings?: number
|
|
1402
|
-
profile?: JsStatsModuleProfile
|
|
1403
1402
|
chunks?: Array<string>
|
|
1404
1403
|
assets?: Array<string>
|
|
1405
1404
|
reasons?: Array<JsStatsModuleReason>
|
|
@@ -1824,11 +1823,17 @@ export interface RawCacheGroupOptions {
|
|
|
1824
1823
|
usedExports?: boolean
|
|
1825
1824
|
}
|
|
1826
1825
|
|
|
1827
|
-
export interface
|
|
1828
|
-
type: string
|
|
1826
|
+
export interface RawCacheOptionsMemory {
|
|
1829
1827
|
maxGenerations?: number
|
|
1830
1828
|
}
|
|
1831
1829
|
|
|
1830
|
+
export interface RawCacheOptionsPersistent {
|
|
1831
|
+
buildDependencies?: Array<string>
|
|
1832
|
+
version?: string
|
|
1833
|
+
snapshot?: RawSnapshotOptions
|
|
1834
|
+
storage?: RawStorageOptions
|
|
1835
|
+
}
|
|
1836
|
+
|
|
1832
1837
|
export interface RawCircularDependencyRspackPluginOptions {
|
|
1833
1838
|
failOnError?: boolean
|
|
1834
1839
|
exclude?: RegExp
|
|
@@ -2096,22 +2101,22 @@ export interface RawEntryDynamicResult {
|
|
|
2096
2101
|
}
|
|
2097
2102
|
|
|
2098
2103
|
export interface RawEnvironment {
|
|
2099
|
-
const
|
|
2100
|
-
methodShorthand
|
|
2101
|
-
arrowFunction
|
|
2102
|
-
nodePrefixForCoreModules
|
|
2103
|
-
asyncFunction
|
|
2104
|
-
bigIntLiteral
|
|
2105
|
-
destructuring
|
|
2106
|
-
document
|
|
2107
|
-
dynamicImport
|
|
2108
|
-
forOf
|
|
2109
|
-
globalThis
|
|
2110
|
-
module
|
|
2111
|
-
optionalChaining
|
|
2112
|
-
templateLiteral
|
|
2113
|
-
dynamicImportInWorker
|
|
2114
|
-
importMetaDirnameAndFilename
|
|
2104
|
+
const: boolean
|
|
2105
|
+
methodShorthand: boolean
|
|
2106
|
+
arrowFunction: boolean
|
|
2107
|
+
nodePrefixForCoreModules: boolean
|
|
2108
|
+
asyncFunction: boolean
|
|
2109
|
+
bigIntLiteral: boolean
|
|
2110
|
+
destructuring: boolean
|
|
2111
|
+
document: boolean
|
|
2112
|
+
dynamicImport: boolean
|
|
2113
|
+
forOf: boolean
|
|
2114
|
+
globalThis: boolean
|
|
2115
|
+
module: boolean
|
|
2116
|
+
optionalChaining: boolean
|
|
2117
|
+
templateLiteral: boolean
|
|
2118
|
+
dynamicImportInWorker: boolean
|
|
2119
|
+
importMetaDirnameAndFilename: boolean
|
|
2115
2120
|
}
|
|
2116
2121
|
|
|
2117
2122
|
export interface RawEsmLibraryPlugin {
|
|
@@ -2124,28 +2129,10 @@ export interface RawEvalDevToolModulePluginOptions {
|
|
|
2124
2129
|
sourceUrlComment?: string
|
|
2125
2130
|
}
|
|
2126
2131
|
|
|
2127
|
-
export interface RawExperimentCacheOptionsPersistent {
|
|
2128
|
-
buildDependencies?: Array<string>
|
|
2129
|
-
version?: string
|
|
2130
|
-
snapshot?: RawExperimentSnapshotOptions
|
|
2131
|
-
storage?: RawStorageOptions
|
|
2132
|
-
}
|
|
2133
|
-
|
|
2134
2132
|
export interface RawExperiments {
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
cache: boolean | { type: "persistent" } & RawExperimentCacheOptionsPersistent | { type: "memory" }
|
|
2139
|
-
useInputFileSystem?: false | Array<RegExp>
|
|
2140
|
-
css?: boolean
|
|
2141
|
-
lazyBarrel: boolean
|
|
2142
|
-
deferImport: boolean
|
|
2143
|
-
}
|
|
2144
|
-
|
|
2145
|
-
export interface RawExperimentSnapshotOptions {
|
|
2146
|
-
immutablePaths: Array<string|RegExp>
|
|
2147
|
-
unmanagedPaths: Array<string|RegExp>
|
|
2148
|
-
managedPaths: Array<string|RegExp>
|
|
2133
|
+
useInputFileSystem?: false | Array<RegExp>
|
|
2134
|
+
css?: boolean
|
|
2135
|
+
deferImport: boolean
|
|
2149
2136
|
}
|
|
2150
2137
|
|
|
2151
2138
|
export interface RawExposeOptions {
|
|
@@ -2242,7 +2229,6 @@ export interface RawHtmlRspackPluginOptions {
|
|
|
2242
2229
|
chunks?: Array<string>
|
|
2243
2230
|
excludeChunks?: Array<string>
|
|
2244
2231
|
chunksSortMode: "auto" | "manual"
|
|
2245
|
-
sri?: "sha256" | "sha384" | "sha512"
|
|
2246
2232
|
minify?: boolean
|
|
2247
2233
|
title?: string
|
|
2248
2234
|
favicon?: string
|
|
@@ -2419,10 +2405,9 @@ export interface RawLightningCssBrowsers {
|
|
|
2419
2405
|
|
|
2420
2406
|
export interface RawLightningCssMinimizerOptions {
|
|
2421
2407
|
errorRecovery: boolean
|
|
2422
|
-
targets?:
|
|
2408
|
+
targets?: string[] | RawLightningCssBrowsers
|
|
2423
2409
|
include?: number
|
|
2424
2410
|
exclude?: number
|
|
2425
|
-
draft?: RawDraft
|
|
2426
2411
|
drafts?: RawDraft
|
|
2427
2412
|
nonStandard?: RawNonStandard
|
|
2428
2413
|
pseudoClasses?: RawLightningCssPseudoClasses
|
|
@@ -2477,8 +2462,13 @@ export interface RawModuleFederationManifestPluginOptions {
|
|
|
2477
2462
|
buildInfo?: RawStatsBuildInfo
|
|
2478
2463
|
}
|
|
2479
2464
|
|
|
2465
|
+
export interface RawModuleFederationRuntimeExperimentsOptions {
|
|
2466
|
+
asyncStartup?: boolean
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2480
2469
|
export interface RawModuleFederationRuntimePluginOptions {
|
|
2481
2470
|
entryRuntime?: string | undefined
|
|
2471
|
+
experiments?: RawModuleFederationRuntimeExperimentsOptions
|
|
2482
2472
|
}
|
|
2483
2473
|
|
|
2484
2474
|
export interface RawModuleFilenameTemplateFnCtx {
|
|
@@ -2604,14 +2594,14 @@ export interface RawOptions {
|
|
|
2604
2594
|
module: RawModuleOptions
|
|
2605
2595
|
optimization: RawOptimizationOptions
|
|
2606
2596
|
stats: RawStatsOptions
|
|
2607
|
-
cache:
|
|
2597
|
+
cache: boolean | { type: "memory" } | ({ type: "persistent" } & RawCacheOptionsPersistent)
|
|
2608
2598
|
experiments: RawExperiments
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2599
|
+
incremental?: false | { [key: string]: boolean }
|
|
2600
|
+
node?: RawNodeOption
|
|
2601
|
+
amd?: string
|
|
2602
|
+
bail: boolean
|
|
2603
|
+
__references: Record<string, any>
|
|
2604
|
+
__virtual_files?: Array<JsVirtualFile>
|
|
2615
2605
|
}
|
|
2616
2606
|
|
|
2617
2607
|
export interface RawOutputOptions {
|
|
@@ -2643,7 +2633,6 @@ export interface RawOutputOptions {
|
|
|
2643
2633
|
module: boolean
|
|
2644
2634
|
chunkLoading: string | false
|
|
2645
2635
|
chunkLoadTimeout: number
|
|
2646
|
-
charset: boolean
|
|
2647
2636
|
enabledChunkLoadingTypes?: Array<string>
|
|
2648
2637
|
trustedTypes?: RawTrustedTypes
|
|
2649
2638
|
sourceMapFilename: string
|
|
@@ -2788,10 +2777,6 @@ export interface RawRslibPluginOptions {
|
|
|
2788
2777
|
forceNodeShims?: boolean
|
|
2789
2778
|
}
|
|
2790
2779
|
|
|
2791
|
-
export interface RawRspackFuture {
|
|
2792
|
-
|
|
2793
|
-
}
|
|
2794
|
-
|
|
2795
2780
|
export interface RawRstestPluginOptions {
|
|
2796
2781
|
injectModulePathName: boolean
|
|
2797
2782
|
importMetaPathName: boolean
|
|
@@ -2838,6 +2823,12 @@ export interface RawSizeLimitsPluginOptions {
|
|
|
2838
2823
|
maxEntrypointSize?: number
|
|
2839
2824
|
}
|
|
2840
2825
|
|
|
2826
|
+
export interface RawSnapshotOptions {
|
|
2827
|
+
immutablePaths: Array<string|RegExp>
|
|
2828
|
+
unmanagedPaths: Array<string|RegExp>
|
|
2829
|
+
managedPaths: Array<string|RegExp>
|
|
2830
|
+
}
|
|
2831
|
+
|
|
2841
2832
|
export interface RawSplitChunkSizes {
|
|
2842
2833
|
sizes: Record<string, number>
|
|
2843
2834
|
}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export = _exports;
|
|
1
|
+
export default function _default(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type BuiltinPlugin, BuiltinPluginName } from '
|
|
1
|
+
import { type BuiltinPlugin, BuiltinPluginName } from '../binding';
|
|
2
2
|
import { RspackBuiltinPlugin } from '../builtin-plugin/base';
|
|
3
3
|
import type { Compiler } from '../Compiler';
|
|
4
4
|
export type ConsumeSharedPluginOptions = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type BuiltinPlugin, BuiltinPluginName, type RawProvideOptions } from '
|
|
1
|
+
import { type BuiltinPlugin, BuiltinPluginName, type RawProvideOptions } from '../binding';
|
|
2
2
|
import { RspackBuiltinPlugin } from '../builtin-plugin/base';
|
|
3
3
|
import type { Compiler } from '../Compiler';
|
|
4
4
|
export type ProvideSharedPluginOptions<Enhanced extends boolean = false> = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type BuiltinPlugin, BuiltinPluginName } from '
|
|
1
|
+
import { type BuiltinPlugin, BuiltinPluginName } from '../binding';
|
|
2
2
|
import { RspackBuiltinPlugin } from '../builtin-plugin/base';
|
|
3
3
|
import type { Compiler } from '../Compiler';
|
|
4
4
|
export declare class ShareRuntimePlugin extends RspackBuiltinPlugin {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Copyright (c) JS Foundation and other contributors
|
|
8
8
|
* https://github.com/webpack/webpack/blob/main/LICENSE
|
|
9
9
|
*/
|
|
10
|
-
import type { JsStats, JsStatsCompilation, JsStatsError } from '
|
|
10
|
+
import type { JsStats, JsStatsCompilation, JsStatsError } from '../binding';
|
|
11
11
|
import { HookMap, SyncBailHook, SyncWaterfallHook } from '@rspack/lite-tapable';
|
|
12
12
|
import type { Compilation } from '../Compilation';
|
|
13
13
|
import { type GroupConfig } from '../util/smartGrouping';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type binding from '
|
|
2
|
-
import type { JsOriginRecord } from '
|
|
1
|
+
import type binding from '../binding';
|
|
2
|
+
import type { JsOriginRecord } from '../binding';
|
|
3
3
|
import type { Compilation } from '../Compilation';
|
|
4
4
|
import type { StatsOptions } from '../config';
|
|
5
5
|
import type { StatsFactory, StatsFactoryContext } from './StatsFactory';
|
|
@@ -117,7 +117,6 @@ export type KnownStatsModule = {
|
|
|
117
117
|
failed?: boolean;
|
|
118
118
|
errors?: number;
|
|
119
119
|
warnings?: number;
|
|
120
|
-
profile?: StatsProfile;
|
|
121
120
|
reasons?: StatsModuleReason[];
|
|
122
121
|
usedExports?: boolean | string[] | null;
|
|
123
122
|
providedExports?: string[] | null;
|
|
@@ -127,7 +126,6 @@ export type KnownStatsModule = {
|
|
|
127
126
|
filteredModules?: number;
|
|
128
127
|
source?: string | Buffer;
|
|
129
128
|
};
|
|
130
|
-
export type StatsProfile = KnownStatsProfile & Record<string, any>;
|
|
131
129
|
export type KnownStatsProfile = {
|
|
132
130
|
total: number;
|
|
133
131
|
resolving: number;
|
|
@@ -297,7 +295,6 @@ export type SimpleExtractors = {
|
|
|
297
295
|
module: ExtractorsByOption<binding.JsStatsModule, StatsModule>;
|
|
298
296
|
module$visible: ExtractorsByOption<binding.JsStatsModule, StatsModule>;
|
|
299
297
|
moduleIssuer: ExtractorsByOption<binding.JsStatsModuleIssuer, StatsModuleIssuer>;
|
|
300
|
-
profile: ExtractorsByOption<binding.JsStatsModuleProfile, StatsProfile>;
|
|
301
298
|
moduleReason: ExtractorsByOption<binding.JsStatsModuleReason, StatsModuleReason>;
|
|
302
299
|
chunk: ExtractorsByOption<binding.JsStatsChunk, KnownStatsChunk>;
|
|
303
300
|
chunkOrigin: ExtractorsByOption<JsOriginRecord, StatsChunkOrigin>;
|
package/dist/swc.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TransformOutput } from '
|
|
1
|
+
import type { TransformOutput } from './binding';
|
|
2
2
|
import type { JsMinifyOptions, Options as TransformOptions } from '@swc/types';
|
|
3
3
|
export type { TransformOutput, TransformOptions, JsMinifyOptions };
|
|
4
4
|
export declare function minify(source: string, options?: JsMinifyOptions): Promise<TransformOutput>;
|
package/dist/taps/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type binding from '
|
|
1
|
+
import type binding from '../binding';
|
|
2
2
|
import type * as liteTapable from '@rspack/lite-tapable';
|
|
3
3
|
import type { Compiler } from '../Compiler';
|
|
4
4
|
type CreateHookMapRegisterTaps = <H extends liteTapable.Hook<any, any, any>>(registerKind: binding.RegisterJsTapKind, getHookMap: () => liteTapable.HookMap<H>, createTap: (queried: liteTapable.QueriedHookMap<H>) => any) => (stages: number[]) => binding.JsTap[];
|
package/dist/util/source.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-debug/browser",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-alpha.0",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Rspack for running in the browser. This is still in early stage and may not follow the semver.",
|
|
7
7
|
"type": "module",
|
|
8
|
-
"main": "./dist/index.mjs",
|
|
9
8
|
"types": "./dist/browser/index.d.ts",
|
|
10
9
|
"publishConfig": {
|
|
11
10
|
"access": "public",
|
|
@@ -14,7 +13,7 @@
|
|
|
14
13
|
"exports": {
|
|
15
14
|
".": {
|
|
16
15
|
"types": "./dist/browser/index.d.ts",
|
|
17
|
-
"default": "./dist/index.
|
|
16
|
+
"default": "./dist/index.js"
|
|
18
17
|
},
|
|
19
18
|
"./wasi-worker-browser.mjs": "./wasi-worker-browser.mjs",
|
|
20
19
|
"./package.json": "./package.json"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './swc';
|
|
File without changes
|
|
File without changes
|