@rspack-canary/core 1.6.8-canary-dfa25db9-20251214173359 → 1.6.8-canary-02b3377e-20251215174244
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.
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import { type Compiler, MultiCompiler } from "../..";
|
|
2
2
|
import type { MiddlewareHandler } from "../../config/devServer";
|
|
3
3
|
export declare const LAZY_COMPILATION_PREFIX = "/lazy-compilation-using-";
|
|
4
|
+
/**
|
|
5
|
+
* Create a middleware that handles lazy compilation requests from the client.
|
|
6
|
+
* This function returns an Express-style middleware that listens for
|
|
7
|
+
* requests triggered by lazy compilation in the dev server client,
|
|
8
|
+
* then invokes the Rspack compiler to compile modules on demand.
|
|
9
|
+
* Use this middleware when integrating lazy compilation into a
|
|
10
|
+
* custom development server instead of relying on the built-in server.
|
|
11
|
+
*/
|
|
4
12
|
export declare const lazyCompilationMiddleware: (compiler: Compiler | MultiCompiler) => MiddlewareHandler;
|
package/dist/config/types.d.ts
CHANGED
|
@@ -2333,7 +2333,18 @@ export type RspackOptions = {
|
|
|
2333
2333
|
*/
|
|
2334
2334
|
loader?: Loader;
|
|
2335
2335
|
/**
|
|
2336
|
-
*
|
|
2336
|
+
* Tells Rspack to suppress specific compilation warnings by matching their
|
|
2337
|
+
* message, module, or file, or by using a custom function.
|
|
2338
|
+
*
|
|
2339
|
+
* @example
|
|
2340
|
+
* ```js
|
|
2341
|
+
* export default {
|
|
2342
|
+
* ignoreWarnings: [
|
|
2343
|
+
* /warning from compiler/,
|
|
2344
|
+
* { file: /node_modules/ },
|
|
2345
|
+
* ],
|
|
2346
|
+
* };
|
|
2347
|
+
* ```
|
|
2337
2348
|
*/
|
|
2338
2349
|
ignoreWarnings?: IgnoreWarnings;
|
|
2339
2350
|
/**
|
package/dist/exports.d.ts
CHANGED
|
@@ -68,6 +68,7 @@ interface Node {
|
|
|
68
68
|
NodeTemplatePlugin: typeof NodeTemplatePlugin;
|
|
69
69
|
NodeEnvironmentPlugin: typeof NodeEnvironmentPlugin;
|
|
70
70
|
}
|
|
71
|
+
export { lazyCompilationMiddleware };
|
|
71
72
|
export declare const node: Node;
|
|
72
73
|
import { ElectronTargetPlugin } from "./builtin-plugin";
|
|
73
74
|
interface Electron {
|
|
@@ -146,6 +147,9 @@ interface Experiments {
|
|
|
146
147
|
RstestPlugin: typeof RstestPlugin;
|
|
147
148
|
RslibPlugin: typeof RslibPlugin;
|
|
148
149
|
SubresourceIntegrityPlugin: typeof SubresourceIntegrityPlugin;
|
|
150
|
+
/**
|
|
151
|
+
* @deprecated Use `rspack.lazyCompilationMiddleware` instead
|
|
152
|
+
*/
|
|
149
153
|
lazyCompilationMiddleware: typeof lazyCompilationMiddleware;
|
|
150
154
|
swc: {
|
|
151
155
|
transform: typeof transform;
|
package/dist/index.js
CHANGED
|
@@ -297,6 +297,7 @@ for(var __rspack_i in (()=>{
|
|
|
297
297
|
EvalDevToolModulePlugin: ()=>EvalDevToolModulePlugin,
|
|
298
298
|
NormalModuleReplacementPlugin: ()=>NormalModuleReplacementPlugin,
|
|
299
299
|
WebpackOptionsApply: ()=>RspackOptionsApply,
|
|
300
|
+
lazyCompilationMiddleware: ()=>lazyCompilationMiddleware,
|
|
300
301
|
EnvironmentPlugin: ()=>EnvironmentPlugin,
|
|
301
302
|
HotModuleReplacementPlugin: ()=>HotModuleReplacementPlugin,
|
|
302
303
|
Compilation: ()=>Compilation,
|
|
@@ -412,6 +413,7 @@ for(var __rspack_i in (()=>{
|
|
|
412
413
|
electron: ()=>electron,
|
|
413
414
|
experiments: ()=>exports_experiments,
|
|
414
415
|
javascript: ()=>javascript,
|
|
416
|
+
lazyCompilationMiddleware: ()=>lazyCompilationMiddleware,
|
|
415
417
|
library: ()=>exports_library,
|
|
416
418
|
node: ()=>exports_node,
|
|
417
419
|
optimize: ()=>optimize,
|
|
@@ -4442,7 +4444,36 @@ Plugins which provide custom chunk loading types must call EnableChunkLoadingPlu
|
|
|
4442
4444
|
currentActiveModules
|
|
4443
4445
|
}), "thisCompilation"), LAZY_COMPILATION_PREFIX = "/lazy-compilation-using-", noop = (_req, _res, next)=>{
|
|
4444
4446
|
"function" == typeof next && next();
|
|
4445
|
-
}, DEPRECATED_LAZY_COMPILATION_OPTIONS_WARN = "The `experiments.lazyCompilation` option is deprecated, please use the configuration top level `lazyCompilation` instead.", REPEAT_LAZY_COMPILATION_OPTIONS_WARN = "Both top-level `lazyCompilation` and `experiments.lazyCompilation` options are set. The top-level `lazyCompilation` configuration will take precedence."
|
|
4447
|
+
}, DEPRECATED_LAZY_COMPILATION_OPTIONS_WARN = "The `experiments.lazyCompilation` option is deprecated, please use the configuration top level `lazyCompilation` instead.", REPEAT_LAZY_COMPILATION_OPTIONS_WARN = "Both top-level `lazyCompilation` and `experiments.lazyCompilation` options are set. The top-level `lazyCompilation` configuration will take precedence.", lazyCompilationMiddleware = (compiler)=>{
|
|
4448
|
+
if (compiler instanceof MultiCompiler) {
|
|
4449
|
+
let middlewareByCompiler = new Map(), i = 0, isReportDeprecatedWarned = !1, isReportRepeatWarned = !1;
|
|
4450
|
+
for (let c of compiler.compilers){
|
|
4451
|
+
if (c.options.experiments.lazyCompilation && (c.name ? console.warn(`The 'experiments.lazyCompilation' option in compiler named '${c.name}' is deprecated, please use the Configuration top level 'lazyCompilation' instead.`) : isReportDeprecatedWarned || (console.warn(DEPRECATED_LAZY_COMPILATION_OPTIONS_WARN), isReportDeprecatedWarned = !0)), c.options.lazyCompilation && c.options.experiments.lazyCompilation && (c.name ? console.warn(`The top-level 'lazyCompilation' option in compiler named '${c.name}' will override the 'experiments.lazyCompilation' option.`) : isReportRepeatWarned || (console.warn(REPEAT_LAZY_COMPILATION_OPTIONS_WARN), isReportRepeatWarned = !0)), !c.options.lazyCompilation && !c.options.experiments.lazyCompilation) continue;
|
|
4452
|
+
let options = {
|
|
4453
|
+
...c.options.experiments.lazyCompilation,
|
|
4454
|
+
...c.options.lazyCompilation
|
|
4455
|
+
}, prefix = options.prefix || LAZY_COMPILATION_PREFIX;
|
|
4456
|
+
options.prefix = `${prefix}__${i++}`;
|
|
4457
|
+
let activeModules = new Set();
|
|
4458
|
+
middlewareByCompiler.set(options.prefix, lazyCompilationMiddlewareInternal(compiler, activeModules, options.prefix)), applyPlugin(c, options, activeModules);
|
|
4459
|
+
}
|
|
4460
|
+
let keys = [
|
|
4461
|
+
...middlewareByCompiler.keys()
|
|
4462
|
+
];
|
|
4463
|
+
return (req, res, next)=>{
|
|
4464
|
+
let key = keys.find((key)=>req.url?.startsWith(key));
|
|
4465
|
+
if (!key) return next?.();
|
|
4466
|
+
let middleware = middlewareByCompiler.get(key);
|
|
4467
|
+
return middleware?.(req, res, next);
|
|
4468
|
+
};
|
|
4469
|
+
}
|
|
4470
|
+
if (compiler.options.experiments.lazyCompilation && (console.warn(DEPRECATED_LAZY_COMPILATION_OPTIONS_WARN), compiler.options.lazyCompilation && console.warn(REPEAT_LAZY_COMPILATION_OPTIONS_WARN)), !compiler.options.lazyCompilation && !compiler.options.experiments.lazyCompilation) return noop;
|
|
4471
|
+
let activeModules = new Set(), options = {
|
|
4472
|
+
...compiler.options.experiments.lazyCompilation,
|
|
4473
|
+
...compiler.options.lazyCompilation
|
|
4474
|
+
};
|
|
4475
|
+
return applyPlugin(compiler, options, activeModules), lazyCompilationMiddlewareInternal(compiler, activeModules, options.prefix || LAZY_COMPILATION_PREFIX);
|
|
4476
|
+
};
|
|
4446
4477
|
function applyPlugin(compiler, options, activeModules) {
|
|
4447
4478
|
let compiler1;
|
|
4448
4479
|
new BuiltinLazyCompilationPlugin(()=>{
|
|
@@ -5785,7 +5816,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
|
5785
5816
|
}, applyExperimentsDefaults = (experiments, { development })=>{
|
|
5786
5817
|
F(experiments, "cache", ()=>development), D(experiments, "futureDefaults", !1), D(experiments, "lazyCompilation", !1), D(experiments, "asyncWebAssembly", experiments.futureDefaults), D(experiments, "css", !!experiments.futureDefaults || void 0), D(experiments, "topLevelAwait", !0), D(experiments, "deferImport", !1), D(experiments, "buildHttp", void 0), experiments.buildHttp && "object" == typeof experiments.buildHttp && D(experiments.buildHttp, "upgrade", !1), D(experiments, "incremental", {}), "object" == typeof experiments.incremental && (D(experiments.incremental, "silent", !0), D(experiments.incremental, "make", !0), D(experiments.incremental, "inferAsyncModules", !0), D(experiments.incremental, "providedExports", !0), D(experiments.incremental, "dependenciesDiagnostics", !0), D(experiments.incremental, "sideEffects", !0), D(experiments.incremental, "buildChunkGraph", !1), D(experiments.incremental, "moduleIds", !0), D(experiments.incremental, "chunkIds", !0), D(experiments.incremental, "modulesHashes", !0), D(experiments.incremental, "modulesCodegen", !0), D(experiments.incremental, "modulesRuntimeRequirements", !0), D(experiments.incremental, "chunksRuntimeRequirements", !0), D(experiments.incremental, "chunksHashes", !0), D(experiments.incremental, "chunksRender", !0), D(experiments.incremental, "emitAssets", !0)), D(experiments, "rspackFuture", {}), D(experiments, "parallelCodeSplitting", !1), D(experiments, "parallelLoader", !1), D(experiments, "useInputFileSystem", !1), D(experiments, "inlineConst", !1), D(experiments, "inlineEnum", !1), D(experiments, "typeReexportsPresence", !1), D(experiments, "lazyBarrel", !0);
|
|
5787
5818
|
}, applybundlerInfoDefaults = (rspackFuture, library)=>{
|
|
5788
|
-
"object" == typeof rspackFuture && (D(rspackFuture, "bundlerInfo", {}), "object" == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, "version", "1.6.8-canary-
|
|
5819
|
+
"object" == typeof rspackFuture && (D(rspackFuture, "bundlerInfo", {}), "object" == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, "version", "1.6.8-canary-02b3377e-20251215174244"), D(rspackFuture.bundlerInfo, "bundler", "rspack"), D(rspackFuture.bundlerInfo, "force", !library)));
|
|
5789
5820
|
}, applySnapshotDefaults = (_snapshot, _env)=>{}, applyModuleDefaults = (module1, { cache, asyncWebAssembly, css, targetProperties, mode, uniqueName, usedExports, inlineConst, deferImport })=>{
|
|
5790
5821
|
if (assertNotNill(module1.parser), assertNotNill(module1.generator), cache ? D(module1, "unsafeCache", /[\\/]node_modules[\\/]/) : D(module1, "unsafeCache", !1), F(module1.parser, "asset", ()=>({})), assertNotNill(module1.parser.asset), F(module1.parser.asset, "dataUrlCondition", ()=>({})), "object" == typeof module1.parser.asset.dataUrlCondition && D(module1.parser.asset.dataUrlCondition, "maxSize", 8096), F(module1.parser, "javascript", ()=>({})), assertNotNill(module1.parser.javascript), ((parserOptions, { usedExports, inlineConst, deferImport })=>{
|
|
5791
5822
|
D(parserOptions, "dynamicImportMode", "lazy"), D(parserOptions, "dynamicImportPrefetch", !1), D(parserOptions, "dynamicImportPreload", !1), D(parserOptions, "url", !0), D(parserOptions, "exprContextCritical", !0), D(parserOptions, "unknownContextCritical", !0), D(parserOptions, "wrappedContextCritical", !1), D(parserOptions, "wrappedContextRegExp", /.*/), D(parserOptions, "strictExportPresence", !1), D(parserOptions, "requireAsExpression", !0), D(parserOptions, "requireDynamic", !0), D(parserOptions, "requireResolve", !0), D(parserOptions, "commonjs", !0), D(parserOptions, "importDynamic", !0), D(parserOptions, "worker", [
|
|
@@ -6243,13 +6274,15 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
|
6243
6274
|
}, getPnpDefault = ()=>!!process.versions.pnp, getNormalizedRspackOptions = (config)=>{
|
|
6244
6275
|
let fn;
|
|
6245
6276
|
return {
|
|
6246
|
-
ignoreWarnings:
|
|
6247
|
-
if (
|
|
6248
|
-
|
|
6249
|
-
|
|
6250
|
-
|
|
6251
|
-
|
|
6252
|
-
|
|
6277
|
+
ignoreWarnings: ((ignoreWarnings)=>{
|
|
6278
|
+
if (ignoreWarnings) return ignoreWarnings.map((ignore)=>{
|
|
6279
|
+
if ("function" == typeof ignore) return ignore;
|
|
6280
|
+
let rule = ignore instanceof RegExp ? {
|
|
6281
|
+
message: ignore
|
|
6282
|
+
} : ignore;
|
|
6283
|
+
return (warning)=>(!!rule.message || !!rule.module || !!rule.file) && (!rule.message || !!rule.message.test(warning.message)) && (!rule.module || !!warning.module && !!rule.module.test(warning.module.readableIdentifier())) && (!rule.file || !!warning.file && !!rule.file.test(warning.file));
|
|
6284
|
+
});
|
|
6285
|
+
})(config.ignoreWarnings),
|
|
6253
6286
|
name: config.name,
|
|
6254
6287
|
dependencies: config.dependencies,
|
|
6255
6288
|
context: config.context,
|
|
@@ -7545,7 +7578,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
|
|
|
7545
7578
|
});
|
|
7546
7579
|
}
|
|
7547
7580
|
}
|
|
7548
|
-
let CORE_VERSION = "1.6.8-canary-
|
|
7581
|
+
let CORE_VERSION = "1.6.8-canary-02b3377e-20251215174244", bindingVersionCheck_errorMessage = (coreVersion, expectedCoreVersion)=>process.env.RSPACK_BINDING ? `Unmatched version @rspack/core@${coreVersion} and binding version.
|
|
7549
7582
|
|
|
7550
7583
|
Help:
|
|
7551
7584
|
Looks like you are using a custom binding (via environment variable 'RSPACK_BINDING=${process.env.RSPACK_BINDING}').
|
|
@@ -8854,7 +8887,7 @@ Help:
|
|
|
8854
8887
|
obj.children = this.stats.map((stat, idx)=>{
|
|
8855
8888
|
let obj = stat.toJson(childOptions.children[idx]), compilationName = stat.compilation.name;
|
|
8856
8889
|
return obj.name = compilationName && makePathsRelative(childOptions.context, compilationName, stat.compilation.compiler.root), obj;
|
|
8857
|
-
}), childOptions.version && (obj.rspackVersion = "1.6.8-canary-
|
|
8890
|
+
}), childOptions.version && (obj.rspackVersion = "1.6.8-canary-02b3377e-20251215174244", obj.version = "5.75.0"), childOptions.hash && (obj.hash = obj.children.map((j)=>j.hash).join(""));
|
|
8858
8891
|
let mapError = (j, obj)=>({
|
|
8859
8892
|
...obj,
|
|
8860
8893
|
compilerPath: obj.compilerPath ? `${j.name}.${obj.compilerPath}` : j.name
|
|
@@ -9197,7 +9230,13 @@ Help:
|
|
|
9197
9230
|
}
|
|
9198
9231
|
apply(compiler) {
|
|
9199
9232
|
compiler.hooks.compilation.tap(this.name, (compilation)=>{
|
|
9200
|
-
compilation.hooks.processWarnings.tap(this.name, (warnings)=>warnings.filter((warning)
|
|
9233
|
+
compilation.hooks.processWarnings.tap(this.name, (warnings)=>warnings.filter((warning)=>{
|
|
9234
|
+
let plainWarning = warning.message ? {
|
|
9235
|
+
...warning,
|
|
9236
|
+
message: external_node_util_default().stripVTControlCharacters(warning.message)
|
|
9237
|
+
} : warning;
|
|
9238
|
+
return !this._ignorePattern.some((ignore)=>ignore(plainWarning, compilation));
|
|
9239
|
+
}));
|
|
9201
9240
|
});
|
|
9202
9241
|
}
|
|
9203
9242
|
};
|
|
@@ -9758,7 +9797,7 @@ Help:
|
|
|
9758
9797
|
object.hash = context.getStatsCompilation(compilation).hash;
|
|
9759
9798
|
},
|
|
9760
9799
|
version: (object)=>{
|
|
9761
|
-
object.version = "5.75.0", object.rspackVersion = "1.6.8-canary-
|
|
9800
|
+
object.version = "5.75.0", object.rspackVersion = "1.6.8-canary-02b3377e-20251215174244";
|
|
9762
9801
|
},
|
|
9763
9802
|
env: (object, _compilation, _context, { _env })=>{
|
|
9764
9803
|
object.env = _env;
|
|
@@ -11977,7 +12016,7 @@ Help:
|
|
|
11977
12016
|
let _options = JSON.stringify(options || {});
|
|
11978
12017
|
return binding_default().transform(source, _options);
|
|
11979
12018
|
}
|
|
11980
|
-
let exports_rspackVersion = "1.6.8-canary-
|
|
12019
|
+
let exports_rspackVersion = "1.6.8-canary-02b3377e-20251215174244", exports_version = "5.75.0", exports_WebpackError = Error, sources = __webpack_require__("webpack-sources"), exports_config = {
|
|
11981
12020
|
getNormalizedRspackOptions: getNormalizedRspackOptions,
|
|
11982
12021
|
applyRspackOptionsDefaults: applyRspackOptionsDefaults,
|
|
11983
12022
|
getNormalizedWebpackOptions: getNormalizedRspackOptions,
|
|
@@ -12186,36 +12225,7 @@ Help:
|
|
|
12186
12225
|
RstestPlugin: RstestPlugin,
|
|
12187
12226
|
RslibPlugin: RslibPlugin,
|
|
12188
12227
|
SubresourceIntegrityPlugin: SubresourceIntegrityPlugin,
|
|
12189
|
-
lazyCompilationMiddleware:
|
|
12190
|
-
if (compiler instanceof MultiCompiler) {
|
|
12191
|
-
let middlewareByCompiler = new Map(), i = 0, isReportDeprecatedWarned = !1, isReportRepeatWarned = !1;
|
|
12192
|
-
for (let c of compiler.compilers){
|
|
12193
|
-
if (c.options.experiments.lazyCompilation && (c.name ? console.warn(`The 'experiments.lazyCompilation' option in compiler named '${c.name}' is deprecated, please use the Configuration top level 'lazyCompilation' instead.`) : isReportDeprecatedWarned || (console.warn(DEPRECATED_LAZY_COMPILATION_OPTIONS_WARN), isReportDeprecatedWarned = !0)), c.options.lazyCompilation && c.options.experiments.lazyCompilation && (c.name ? console.warn(`The top-level 'lazyCompilation' option in compiler named '${c.name}' will override the 'experiments.lazyCompilation' option.`) : isReportRepeatWarned || (console.warn(REPEAT_LAZY_COMPILATION_OPTIONS_WARN), isReportRepeatWarned = !0)), !c.options.lazyCompilation && !c.options.experiments.lazyCompilation) continue;
|
|
12194
|
-
let options = {
|
|
12195
|
-
...c.options.experiments.lazyCompilation,
|
|
12196
|
-
...c.options.lazyCompilation
|
|
12197
|
-
}, prefix = options.prefix || LAZY_COMPILATION_PREFIX;
|
|
12198
|
-
options.prefix = `${prefix}__${i++}`;
|
|
12199
|
-
let activeModules = new Set();
|
|
12200
|
-
middlewareByCompiler.set(options.prefix, lazyCompilationMiddlewareInternal(compiler, activeModules, options.prefix)), applyPlugin(c, options, activeModules);
|
|
12201
|
-
}
|
|
12202
|
-
let keys = [
|
|
12203
|
-
...middlewareByCompiler.keys()
|
|
12204
|
-
];
|
|
12205
|
-
return (req, res, next)=>{
|
|
12206
|
-
let key = keys.find((key)=>req.url?.startsWith(key));
|
|
12207
|
-
if (!key) return next?.();
|
|
12208
|
-
let middleware = middlewareByCompiler.get(key);
|
|
12209
|
-
return middleware?.(req, res, next);
|
|
12210
|
-
};
|
|
12211
|
-
}
|
|
12212
|
-
if (compiler.options.experiments.lazyCompilation && (console.warn(DEPRECATED_LAZY_COMPILATION_OPTIONS_WARN), compiler.options.lazyCompilation && console.warn(REPEAT_LAZY_COMPILATION_OPTIONS_WARN)), !compiler.options.lazyCompilation && !compiler.options.experiments.lazyCompilation) return noop;
|
|
12213
|
-
let activeModules = new Set(), options = {
|
|
12214
|
-
...compiler.options.experiments.lazyCompilation,
|
|
12215
|
-
...compiler.options.lazyCompilation
|
|
12216
|
-
};
|
|
12217
|
-
return applyPlugin(compiler, options, activeModules), lazyCompilationMiddlewareInternal(compiler, activeModules, options.prefix || LAZY_COMPILATION_PREFIX);
|
|
12218
|
-
},
|
|
12228
|
+
lazyCompilationMiddleware: lazyCompilationMiddleware,
|
|
12219
12229
|
swc: {
|
|
12220
12230
|
minify: minify,
|
|
12221
12231
|
transform: transform,
|
|
@@ -12325,7 +12335,7 @@ Help:
|
|
|
12325
12335
|
}, exports_namespaceObject);
|
|
12326
12336
|
src_fn.rspack = src_fn, src_fn.webpack = src_fn;
|
|
12327
12337
|
let src_rspack_0 = src_fn, src_0 = src_rspack_0;
|
|
12328
|
-
})(), exports.AsyncDependenciesBlock = __webpack_exports__.AsyncDependenciesBlock, exports.BannerPlugin = __webpack_exports__.BannerPlugin, exports.CircularDependencyRspackPlugin = __webpack_exports__.CircularDependencyRspackPlugin, exports.Compilation = __webpack_exports__.Compilation, exports.Compiler = __webpack_exports__.Compiler, exports.ConcatenatedModule = __webpack_exports__.ConcatenatedModule, exports.ContextModule = __webpack_exports__.ContextModule, exports.ContextReplacementPlugin = __webpack_exports__.ContextReplacementPlugin, exports.CopyRspackPlugin = __webpack_exports__.CopyRspackPlugin, exports.CssExtractRspackPlugin = __webpack_exports__.CssExtractRspackPlugin, exports.DefinePlugin = __webpack_exports__.DefinePlugin, exports.Dependency = __webpack_exports__.Dependency, exports.DllPlugin = __webpack_exports__.DllPlugin, exports.DllReferencePlugin = __webpack_exports__.DllReferencePlugin, exports.DynamicEntryPlugin = __webpack_exports__.DynamicEntryPlugin, exports.EntryDependency = __webpack_exports__.EntryDependency, exports.EntryOptionPlugin = __webpack_exports__.EntryOptionPlugin, exports.EntryPlugin = __webpack_exports__.EntryPlugin, exports.EnvironmentPlugin = __webpack_exports__.EnvironmentPlugin, exports.EvalDevToolModulePlugin = __webpack_exports__.EvalDevToolModulePlugin, exports.EvalSourceMapDevToolPlugin = __webpack_exports__.EvalSourceMapDevToolPlugin, exports.ExternalModule = __webpack_exports__.ExternalModule, exports.ExternalsPlugin = __webpack_exports__.ExternalsPlugin, exports.HotModuleReplacementPlugin = __webpack_exports__.HotModuleReplacementPlugin, exports.HtmlRspackPlugin = __webpack_exports__.HtmlRspackPlugin, exports.IgnorePlugin = __webpack_exports__.IgnorePlugin, exports.LightningCssMinimizerRspackPlugin = __webpack_exports__.LightningCssMinimizerRspackPlugin, exports.LoaderOptionsPlugin = __webpack_exports__.LoaderOptionsPlugin, exports.LoaderTargetPlugin = __webpack_exports__.LoaderTargetPlugin, exports.Module = __webpack_exports__.Module, exports.ModuleFilenameHelpers = __webpack_exports__.ModuleFilenameHelpers, exports.MultiCompiler = __webpack_exports__.MultiCompiler, exports.MultiStats = __webpack_exports__.MultiStats, exports.NoEmitOnErrorsPlugin = __webpack_exports__.NoEmitOnErrorsPlugin, exports.NormalModule = __webpack_exports__.NormalModule, exports.NormalModuleReplacementPlugin = __webpack_exports__.NormalModuleReplacementPlugin, exports.ProgressPlugin = __webpack_exports__.ProgressPlugin, exports.ProvidePlugin = __webpack_exports__.ProvidePlugin, exports.RspackOptionsApply = __webpack_exports__.RspackOptionsApply, exports.RuntimeGlobals = __webpack_exports__.RuntimeGlobals, exports.RuntimeModule = __webpack_exports__.RuntimeModule, exports.RuntimePlugin = __webpack_exports__.RuntimePlugin, exports.SourceMapDevToolPlugin = __webpack_exports__.SourceMapDevToolPlugin, exports.Stats = __webpack_exports__.Stats, exports.StatsErrorCode = __webpack_exports__.StatsErrorCode, exports.SwcJsMinimizerRspackPlugin = __webpack_exports__.SwcJsMinimizerRspackPlugin, exports.Template = __webpack_exports__.Template, exports.ValidationError = __webpack_exports__.ValidationError, exports.WarnCaseSensitiveModulesPlugin = __webpack_exports__.WarnCaseSensitiveModulesPlugin, exports.WebpackError = __webpack_exports__.WebpackError, exports.WebpackOptionsApply = __webpack_exports__.WebpackOptionsApply, exports.config = __webpack_exports__.config, exports.container = __webpack_exports__.container, exports.default = __webpack_exports__.default, exports.electron = __webpack_exports__.electron, exports.experiments = __webpack_exports__.experiments, exports.javascript = __webpack_exports__.javascript, exports.library = __webpack_exports__.library, exports.node = __webpack_exports__.node, exports.optimize = __webpack_exports__.optimize, exports.rspack = __webpack_exports__.rspack, exports.rspackVersion = __webpack_exports__.rspackVersion, exports.sharing = __webpack_exports__.sharing, exports.sources = __webpack_exports__.sources, exports.util = __webpack_exports__.util, exports.version = __webpack_exports__.version, exports.wasm = __webpack_exports__.wasm, exports.web = __webpack_exports__.web, exports.webworker = __webpack_exports__.webworker, __webpack_exports__)-1 === [
|
|
12338
|
+
})(), exports.AsyncDependenciesBlock = __webpack_exports__.AsyncDependenciesBlock, exports.BannerPlugin = __webpack_exports__.BannerPlugin, exports.CircularDependencyRspackPlugin = __webpack_exports__.CircularDependencyRspackPlugin, exports.Compilation = __webpack_exports__.Compilation, exports.Compiler = __webpack_exports__.Compiler, exports.ConcatenatedModule = __webpack_exports__.ConcatenatedModule, exports.ContextModule = __webpack_exports__.ContextModule, exports.ContextReplacementPlugin = __webpack_exports__.ContextReplacementPlugin, exports.CopyRspackPlugin = __webpack_exports__.CopyRspackPlugin, exports.CssExtractRspackPlugin = __webpack_exports__.CssExtractRspackPlugin, exports.DefinePlugin = __webpack_exports__.DefinePlugin, exports.Dependency = __webpack_exports__.Dependency, exports.DllPlugin = __webpack_exports__.DllPlugin, exports.DllReferencePlugin = __webpack_exports__.DllReferencePlugin, exports.DynamicEntryPlugin = __webpack_exports__.DynamicEntryPlugin, exports.EntryDependency = __webpack_exports__.EntryDependency, exports.EntryOptionPlugin = __webpack_exports__.EntryOptionPlugin, exports.EntryPlugin = __webpack_exports__.EntryPlugin, exports.EnvironmentPlugin = __webpack_exports__.EnvironmentPlugin, exports.EvalDevToolModulePlugin = __webpack_exports__.EvalDevToolModulePlugin, exports.EvalSourceMapDevToolPlugin = __webpack_exports__.EvalSourceMapDevToolPlugin, exports.ExternalModule = __webpack_exports__.ExternalModule, exports.ExternalsPlugin = __webpack_exports__.ExternalsPlugin, exports.HotModuleReplacementPlugin = __webpack_exports__.HotModuleReplacementPlugin, exports.HtmlRspackPlugin = __webpack_exports__.HtmlRspackPlugin, exports.IgnorePlugin = __webpack_exports__.IgnorePlugin, exports.LightningCssMinimizerRspackPlugin = __webpack_exports__.LightningCssMinimizerRspackPlugin, exports.LoaderOptionsPlugin = __webpack_exports__.LoaderOptionsPlugin, exports.LoaderTargetPlugin = __webpack_exports__.LoaderTargetPlugin, exports.Module = __webpack_exports__.Module, exports.ModuleFilenameHelpers = __webpack_exports__.ModuleFilenameHelpers, exports.MultiCompiler = __webpack_exports__.MultiCompiler, exports.MultiStats = __webpack_exports__.MultiStats, exports.NoEmitOnErrorsPlugin = __webpack_exports__.NoEmitOnErrorsPlugin, exports.NormalModule = __webpack_exports__.NormalModule, exports.NormalModuleReplacementPlugin = __webpack_exports__.NormalModuleReplacementPlugin, exports.ProgressPlugin = __webpack_exports__.ProgressPlugin, exports.ProvidePlugin = __webpack_exports__.ProvidePlugin, exports.RspackOptionsApply = __webpack_exports__.RspackOptionsApply, exports.RuntimeGlobals = __webpack_exports__.RuntimeGlobals, exports.RuntimeModule = __webpack_exports__.RuntimeModule, exports.RuntimePlugin = __webpack_exports__.RuntimePlugin, exports.SourceMapDevToolPlugin = __webpack_exports__.SourceMapDevToolPlugin, exports.Stats = __webpack_exports__.Stats, exports.StatsErrorCode = __webpack_exports__.StatsErrorCode, exports.SwcJsMinimizerRspackPlugin = __webpack_exports__.SwcJsMinimizerRspackPlugin, exports.Template = __webpack_exports__.Template, exports.ValidationError = __webpack_exports__.ValidationError, exports.WarnCaseSensitiveModulesPlugin = __webpack_exports__.WarnCaseSensitiveModulesPlugin, exports.WebpackError = __webpack_exports__.WebpackError, exports.WebpackOptionsApply = __webpack_exports__.WebpackOptionsApply, exports.config = __webpack_exports__.config, exports.container = __webpack_exports__.container, exports.default = __webpack_exports__.default, exports.electron = __webpack_exports__.electron, exports.experiments = __webpack_exports__.experiments, exports.javascript = __webpack_exports__.javascript, exports.lazyCompilationMiddleware = __webpack_exports__.lazyCompilationMiddleware, exports.library = __webpack_exports__.library, exports.node = __webpack_exports__.node, exports.optimize = __webpack_exports__.optimize, exports.rspack = __webpack_exports__.rspack, exports.rspackVersion = __webpack_exports__.rspackVersion, exports.sharing = __webpack_exports__.sharing, exports.sources = __webpack_exports__.sources, exports.util = __webpack_exports__.util, exports.version = __webpack_exports__.version, exports.wasm = __webpack_exports__.wasm, exports.web = __webpack_exports__.web, exports.webworker = __webpack_exports__.webworker, __webpack_exports__)-1 === [
|
|
12329
12339
|
"AsyncDependenciesBlock",
|
|
12330
12340
|
"BannerPlugin",
|
|
12331
12341
|
"CircularDependencyRspackPlugin",
|
|
@@ -12383,6 +12393,7 @@ Help:
|
|
|
12383
12393
|
"electron",
|
|
12384
12394
|
"experiments",
|
|
12385
12395
|
"javascript",
|
|
12396
|
+
"lazyCompilationMiddleware",
|
|
12386
12397
|
"library",
|
|
12387
12398
|
"node",
|
|
12388
12399
|
"optimize",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack-canary/core",
|
|
3
|
-
"version": "1.6.8-canary-
|
|
3
|
+
"version": "1.6.8-canary-02b3377e-20251215174244",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "The fast Rust-based web bundler with webpack-compatible API",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@module-federation/runtime-tools": "0.21.6",
|
|
60
60
|
"@rspack/lite-tapable": "1.1.0",
|
|
61
|
-
"@rspack/binding": "npm:@rspack-canary/binding@1.6.8-canary-
|
|
61
|
+
"@rspack/binding": "npm:@rspack-canary/binding@1.6.8-canary-02b3377e-20251215174244"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"@swc/helpers": ">=0.5.1"
|