@rspack-canary/core 1.6.8-canary-2fd81281-20251216180302 → 1.7.0-canary-a0fc091c-20251217174017

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.
@@ -17,7 +17,7 @@ export type EntryNormalized = EntryDynamicNormalized | EntryStaticNormalized;
17
17
  export interface EntryStaticNormalized {
18
18
  [k: string]: EntryDescriptionNormalized;
19
19
  }
20
- export type EntryDescriptionNormalized = Pick<EntryDescription, "runtime" | "chunkLoading" | "asyncChunks" | "publicPath" | "baseUri" | "filename" | "library" | "layer"> & {
20
+ export type EntryDescriptionNormalized = Pick<EntryDescription, "runtime" | "chunkLoading" | "wasmLoading" | "asyncChunks" | "publicPath" | "baseUri" | "filename" | "library" | "layer"> & {
21
21
  import?: string[];
22
22
  dependOn?: string[];
23
23
  };
@@ -120,9 +120,18 @@ export interface ExperimentsNormalized {
120
120
  buildHttp?: HttpUriPluginOptions;
121
121
  parallelLoader?: boolean;
122
122
  useInputFileSystem?: false | RegExp[];
123
+ /**
124
+ * @deprecated This option is deprecated, it's already stable and enabled by default, Rspack will remove this option in future version
125
+ */
123
126
  inlineConst?: boolean;
127
+ /**
128
+ * @deprecated This option is deprecated, it's already stable and enabled by default, Rspack will remove this option in future version
129
+ */
124
130
  inlineEnum?: boolean;
125
131
  typeReexportsPresence?: boolean;
132
+ /**
133
+ * @deprecated This option is deprecated, it's already stable and enabled by default, Rspack will remove this option in future version
134
+ */
126
135
  lazyBarrel?: boolean;
127
136
  nativeWatcher?: boolean;
128
137
  deferImport?: boolean;
@@ -858,8 +858,6 @@ export type JavascriptParserOptions = {
858
858
  * Enable magic comments for CommonJS require() expressions.
859
859
  */
860
860
  commonjsMagicComments?: boolean;
861
- /** Inline const values in this module */
862
- inlineConst?: boolean;
863
861
  /** Whether to tolerant exportsPresence for type reexport */
864
862
  typeReexportsPresence?: "no-tolerant" | "tolerant" | "tolerant-no-check";
865
863
  /** Whether to enable JSX parsing */
@@ -1881,6 +1879,13 @@ export type Optimization = {
1881
1879
  * The value is `false` in development mode.
1882
1880
  */
1883
1881
  mangleExports?: "size" | "deterministic" | boolean;
1882
+ /**
1883
+ * Allows to inline exports when possible to reduce code size.
1884
+ *
1885
+ * The value is `true` in production mode.
1886
+ * The value is `false` in development mode.
1887
+ */
1888
+ inlineExports?: boolean;
1884
1889
  /**
1885
1890
  * Tells Rspack to set process.env.NODE_ENV to a given string value.
1886
1891
  * @default false
@@ -2155,21 +2160,25 @@ export type Experiments = {
2155
2160
  /**
2156
2161
  * Enable inline const feature
2157
2162
  * @default false
2163
+ * @deprecated This option is deprecated, it's already stable and enabled by default, Rspack will remove this option in future version
2158
2164
  */
2159
2165
  inlineConst?: boolean;
2160
2166
  /**
2161
2167
  * Enable inline enum feature
2162
2168
  * @default false
2169
+ * @deprecated This option is deprecated, it's already stable. Rspack will remove this option in future version
2163
2170
  */
2164
2171
  inlineEnum?: boolean;
2165
2172
  /**
2166
2173
  * Enable type reexports presence feature
2167
2174
  * @default false
2175
+ * @deprecated This option is deprecated, it's already stable. Rspack will remove this option in future version
2168
2176
  */
2169
2177
  typeReexportsPresence?: boolean;
2170
2178
  /**
2171
2179
  * Enable lazy make side effects free barrel file
2172
2180
  * @default false
2181
+ * @deprecated This option is deprecated, it's already stable and enabled by default, Rspack will remove this option in future version
2173
2182
  */
2174
2183
  lazyBarrel?: boolean;
2175
2184
  /**
package/dist/exports.d.ts CHANGED
@@ -56,6 +56,7 @@ export { LoaderOptionsPlugin } from "./lib/LoaderOptionsPlugin";
56
56
  export { LoaderTargetPlugin } from "./lib/LoaderTargetPlugin";
57
57
  export type { OutputFileSystem, WatchFileSystem } from "./util/fs";
58
58
  import { EsmLibraryPlugin, FetchCompileAsyncWasmPlugin, lazyCompilationMiddleware, SubresourceIntegrityPlugin } from "./builtin-plugin";
59
+ export { SubresourceIntegrityPlugin };
59
60
  interface Web {
60
61
  FetchCompileAsyncWasmPlugin: typeof FetchCompileAsyncWasmPlugin;
61
62
  }
@@ -142,11 +143,14 @@ interface Experiments {
142
143
  cleanup: () => Promise<void>;
143
144
  };
144
145
  RemoveDuplicateModulesPlugin: typeof RemoveDuplicateModulesPlugin;
146
+ /**
147
+ * @deprecated Use `rspack.SubresourceIntegrityPlugin` instead
148
+ */
149
+ SubresourceIntegrityPlugin: typeof SubresourceIntegrityPlugin;
145
150
  EsmLibraryPlugin: typeof EsmLibraryPlugin;
146
151
  RsdoctorPlugin: typeof RsdoctorPlugin;
147
152
  RstestPlugin: typeof RstestPlugin;
148
153
  RslibPlugin: typeof RslibPlugin;
149
- SubresourceIntegrityPlugin: typeof SubresourceIntegrityPlugin;
150
154
  /**
151
155
  * @deprecated Use `rspack.lazyCompilationMiddleware` instead
152
156
  */
package/dist/index.js CHANGED
@@ -330,9 +330,10 @@ for(var __rspack_i in (()=>{
330
330
  ModuleFilenameHelpers: ()=>ModuleFilenameHelpers_namespaceObject,
331
331
  MultiCompiler: ()=>MultiCompiler,
332
332
  SourceMapDevToolPlugin: ()=>SourceMapDevToolPlugin,
333
+ SubresourceIntegrityPlugin: ()=>SubresourceIntegrityPlugin,
333
334
  library: ()=>exports_library,
334
- node: ()=>exports_node,
335
335
  RuntimeGlobals: ()=>DefaultRuntimeGlobals,
336
+ node: ()=>exports_node,
336
337
  rspackVersion: ()=>exports_rspackVersion,
337
338
  util: ()=>util,
338
339
  optimize: ()=>optimize,
@@ -402,6 +403,7 @@ for(var __rspack_i in (()=>{
402
403
  SourceMapDevToolPlugin: ()=>SourceMapDevToolPlugin,
403
404
  Stats: ()=>Stats,
404
405
  StatsErrorCode: ()=>statsFactoryUtils_StatsErrorCode,
406
+ SubresourceIntegrityPlugin: ()=>SubresourceIntegrityPlugin,
405
407
  SwcJsMinimizerRspackPlugin: ()=>SwcJsMinimizerRspackPlugin,
406
408
  Template: ()=>Template,
407
409
  ValidationError: ()=>ValidationError,
@@ -2209,13 +2211,13 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
2209
2211
  } : options)
2210
2212
  }), "make");
2211
2213
  function getRawEntryOptions(entry) {
2212
- let runtime = entry.runtime, chunkLoading = entry.chunkLoading;
2213
2214
  return {
2214
2215
  name: entry.name,
2215
2216
  publicPath: entry.publicPath,
2216
2217
  baseUri: entry.baseUri,
2217
- runtime,
2218
- chunkLoading,
2218
+ runtime: entry.runtime,
2219
+ chunkLoading: entry.chunkLoading,
2220
+ wasmLoading: entry.wasmLoading,
2219
2221
  asyncChunks: entry.asyncChunks,
2220
2222
  filename: entry.filename,
2221
2223
  library: entry.library,
@@ -2304,7 +2306,7 @@ Plugins which provide custom chunk loading types must call EnableChunkLoadingPlu
2304
2306
  var config;
2305
2307
  let err, logger = compiler.getInfrastructureLogger(EsmLibraryPlugin.PLUGIN_NAME);
2306
2308
  if (!function(options, logger) {
2307
- options.optimization.concatenateModules = !1, options.optimization.removeEmptyChunks = !1, options.output.chunkFormat = !1, options.output.chunkLoading && "import" !== options.output.chunkLoading && (logger.warn(`\`output.chunkLoading\` should be \`"import"\` or \`false\`, but got ${options.output.chunkLoading}, changed it to \`"import"\``), options.output.chunkLoading = "import"), void 0 === options.output.chunkLoading && (options.output.chunkLoading = "import"), options.output.library && (options.output.library = void 0);
2309
+ options.optimization.concatenateModules = !1, options.optimization.removeEmptyChunks = !1, options.output.chunkFormat = !1, options.output.module = !0, options.output.chunkLoading && "import" !== options.output.chunkLoading && (logger.warn(`\`output.chunkLoading\` should be \`"import"\` or \`false\`, but got ${options.output.chunkLoading}, changed it to \`"import"\``), options.output.chunkLoading = "import"), void 0 === options.output.chunkLoading && (options.output.chunkLoading = "import"), options.output.library && (options.output.library = void 0);
2308
2310
  let { splitChunks } = options.optimization;
2309
2311
  void 0 === splitChunks && (splitChunks = options.optimization.splitChunks = {}), !1 !== splitChunks && (splitChunks.chunks = "all", splitChunks.minSize = 0, splitChunks.maxAsyncRequests = 1 / 0, splitChunks.maxInitialRequests = 1 / 0, splitChunks.cacheGroups ??= {}, splitChunks.cacheGroups.default = !1, splitChunks.cacheGroups.defaultVendors = !1);
2310
2312
  }(compiler.options, logger), new RemoveDuplicateModulesPlugin().apply(compiler), err = (config = compiler.options).optimization.concatenateModules ? "You should disable `config.optimization.concatenateModules`" : !1 !== config.output.chunkFormat ? "You should disable default chunkFormat by `config.output.chunkFormat = false`" : void 0) throw new src_0.WebpackError(`Conflicted config for ${EsmLibraryPlugin.PLUGIN_NAME}: ${err}`);
@@ -3990,7 +3992,6 @@ Plugins which provide custom chunk loading types must call EnableChunkLoadingPlu
3990
3992
  commonjs: parser.commonjs,
3991
3993
  importDynamic: parser.importDynamic,
3992
3994
  commonjsMagicComments: parser.commonjsMagicComments,
3993
- inlineConst: parser.inlineConst,
3994
3995
  typeReexportsPresence: parser.typeReexportsPresence,
3995
3996
  jsx: parser.jsx,
3996
3997
  deferImport: parser.deferImport
@@ -5781,15 +5782,16 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
5781
5782
  if ("function" != typeof options.entry) for (let key of Object.keys(options.entry))F(options.entry[key], "import", ()=>[
5782
5783
  "./src"
5783
5784
  ]);
5784
- F(options, "devtool", ()=>!!development && "eval"), D(options, "watch", !1), D(options, "profile", !1), D(options, "lazyCompilation", {
5785
- imports: !0,
5786
- entries: !1
5787
- }), D(options, "bail", !1), F(options, "cache", ()=>development), !1 === options.cache && (options.experiments.cache = !1), applyExperimentsDefaults(options.experiments, {
5785
+ F(options, "devtool", ()=>!!development && "eval"), D(options, "watch", !1), D(options, "profile", !1), F(options, "lazyCompilation", ()=>!!targetProperties && !!targetProperties.web && !targetProperties.electron && !targetProperties.node && !targetProperties.nwjs && {
5786
+ imports: !0,
5787
+ entries: !1
5788
+ }), D(options, "bail", !1), F(options, "cache", ()=>development), !1 === options.cache && (options.experiments.cache = !1), applyExperimentsDefaults(options.experiments, {
5788
5789
  development
5789
5790
  }), applyOptimizationDefaults(options.optimization, {
5790
5791
  production,
5791
5792
  development,
5792
- css: options.experiments.css
5793
+ css: options.experiments.css,
5794
+ deprecatedInline: options.experiments.inlineConst || options.experiments.inlineEnum
5793
5795
  }), applySnapshotDefaults(options.snapshot, {
5794
5796
  production
5795
5797
  }), applyModuleDefaults(options.module, {
@@ -5799,8 +5801,6 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
5799
5801
  targetProperties,
5800
5802
  mode: options.mode,
5801
5803
  uniqueName: options.output.uniqueName,
5802
- usedExports: !!options.optimization.usedExports,
5803
- inlineConst: options.experiments.inlineConst,
5804
5804
  deferImport: options.experiments.deferImport
5805
5805
  }), applyOutputDefaults(options.output, {
5806
5806
  context: options.context,
@@ -5830,17 +5830,15 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
5830
5830
  let tty = infrastructureLogging.stream?.isTTY && "dumb" !== process.env.TERM;
5831
5831
  D(infrastructureLogging, "level", "info"), D(infrastructureLogging, "debug", !1), D(infrastructureLogging, "colors", tty), D(infrastructureLogging, "appendOnly", !tty);
5832
5832
  }, applyExperimentsDefaults = (experiments, { development })=>{
5833
- 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);
5833
+ 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", !0), D(experiments, "inlineEnum", !1), D(experiments, "typeReexportsPresence", !1), D(experiments, "lazyBarrel", !0);
5834
5834
  }, applybundlerInfoDefaults = (rspackFuture, library)=>{
5835
- "object" == typeof rspackFuture && (D(rspackFuture, "bundlerInfo", {}), "object" == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, "version", "1.6.8-canary-2fd81281-20251216180302"), D(rspackFuture.bundlerInfo, "bundler", "rspack"), D(rspackFuture.bundlerInfo, "force", !library)));
5836
- }, applySnapshotDefaults = (_snapshot, _env)=>{}, applyModuleDefaults = (module1, { cache, asyncWebAssembly, css, targetProperties, mode, uniqueName, usedExports, inlineConst, deferImport })=>{
5837
- 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 })=>{
5835
+ "object" == typeof rspackFuture && (D(rspackFuture, "bundlerInfo", {}), "object" == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, "version", "1.7.0-canary-a0fc091c-20251217174017"), D(rspackFuture.bundlerInfo, "bundler", "rspack"), D(rspackFuture.bundlerInfo, "force", !library)));
5836
+ }, applySnapshotDefaults = (_snapshot, _env)=>{}, applyModuleDefaults = (module1, { cache, asyncWebAssembly, css, targetProperties, mode, uniqueName, deferImport })=>{
5837
+ 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, { deferImport })=>{
5838
5838
  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", [
5839
5839
  "..."
5840
- ]), D(parserOptions, "importMeta", !0), D(parserOptions, "inlineConst", usedExports && inlineConst), D(parserOptions, "typeReexportsPresence", "no-tolerant"), D(parserOptions, "jsx", !1), D(parserOptions, "deferImport", deferImport);
5840
+ ]), D(parserOptions, "importMeta", !0), D(parserOptions, "typeReexportsPresence", "no-tolerant"), D(parserOptions, "jsx", !1), D(parserOptions, "deferImport", deferImport);
5841
5841
  })(module1.parser.javascript, {
5842
- usedExports,
5843
- inlineConst,
5844
5842
  deferImport
5845
5843
  }), F(module1.parser, "json", ()=>({})), assertNotNill(module1.parser.json), D(module1.parser.json, "exportsDepth", "development" === mode ? 1 : Number.MAX_SAFE_INTEGER), F(module1.generator, "json", ()=>({})), assertNotNill(module1.generator.json), D(module1.generator.json, "JSONParse", !0), css) {
5846
5844
  F(module1.parser, "css", ()=>({})), assertNotNill(module1.parser.css), D(module1.parser.css, "namedExports", !0), D(module1.parser.css, "url", !0), F(module1.parser, "css/auto", ()=>({})), assertNotNill(module1.parser["css/auto"]), D(module1.parser["css/auto"], "namedExports", !0), D(module1.parser["css/auto"], "url", !0), F(module1.parser, "css/module", ()=>({})), assertNotNill(module1.parser["css/module"]), D(module1.parser["css/module"], "namedExports", !0), D(module1.parser["css/module"], "url", !0), F(module1.generator, "css", ()=>({})), assertNotNill(module1.generator.css), D(module1.generator.css, "exportsOnly", !targetProperties || !targetProperties.document), D(module1.generator.css, "esModule", !0), F(module1.generator, "css/auto", ()=>({})), assertNotNill(module1.generator["css/auto"]), D(module1.generator["css/auto"], "exportsOnly", !targetProperties || !targetProperties.document), D(module1.generator["css/auto"], "exportsConvention", "as-is");
@@ -6087,7 +6085,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
6087
6085
  if (tp) {
6088
6086
  if (tp.fetchWasm) return "fetch";
6089
6087
  if (tp.nodeBuiltins) return "async-node";
6090
- null === tp.nodeBuiltins || tp.fetchWasm;
6088
+ if ((null === tp.nodeBuiltins || null === tp.fetchWasm) && output.module && environment.dynamicImport) return "universal";
6091
6089
  }
6092
6090
  return !1;
6093
6091
  }), F(output, "workerWasmLoading", ()=>output.wasmLoading), F(output, "globalObject", ()=>{
@@ -6114,7 +6112,9 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
6114
6112
  }), Array.from(enabledChunkLoadingTypes);
6115
6113
  }), A(output, "enabledWasmLoadingTypes", ()=>{
6116
6114
  let enabledWasmLoadingTypes = new Set();
6117
- return output.wasmLoading && enabledWasmLoadingTypes.add(output.wasmLoading), output.workerWasmLoading && enabledWasmLoadingTypes.add(output.workerWasmLoading), Array.from(enabledWasmLoadingTypes);
6115
+ return output.wasmLoading && enabledWasmLoadingTypes.add(output.wasmLoading), output.workerWasmLoading && enabledWasmLoadingTypes.add(output.workerWasmLoading), forEachEntry((desc)=>{
6116
+ desc.wasmLoading && enabledWasmLoadingTypes.add(desc.wasmLoading);
6117
+ }), Array.from(enabledWasmLoadingTypes);
6118
6118
  });
6119
6119
  }, applyExternalsPresetsDefaults = (externalsPresets, { targetProperties, buildHttp })=>{
6120
6120
  D(externalsPresets, "web", !buildHttp && targetProperties?.web), D(externalsPresets, "node", targetProperties?.node), D(externalsPresets, "electron", targetProperties?.electron), D(externalsPresets, "electronMain", targetProperties?.electron && targetProperties.electronMain), D(externalsPresets, "electronPreload", targetProperties?.electron && targetProperties.electronPreload), D(externalsPresets, "electronRenderer", targetProperties?.electron && targetProperties.electronRenderer), D(externalsPresets, "nwjs", targetProperties?.nwjs);
@@ -6131,8 +6131,8 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
6131
6131
  !1 !== node && (F(node, "global", ()=>!targetProperties?.global && "warn"), F(node, "__dirname", ()=>targetProperties?.node ? outputModule ? "node-module" : "eval-only" : "warn-mock"), F(node, "__filename", ()=>targetProperties?.node ? outputModule ? "node-module" : "eval-only" : "warn-mock"));
6132
6132
  }, applyPerformanceDefaults = (performance, { production })=>{
6133
6133
  !1 !== performance && (D(performance, "maxAssetSize", 250000), D(performance, "maxEntrypointSize", 250000), F(performance, "hints", ()=>!!production && "warning"));
6134
- }, applyOptimizationDefaults = (optimization, { production, development, css })=>{
6135
- D(optimization, "removeAvailableModules", !0), D(optimization, "removeEmptyChunks", !0), D(optimization, "mergeDuplicateChunks", !0), F(optimization, "moduleIds", ()=>production ? "deterministic" : development ? "named" : "natural"), F(optimization, "chunkIds", ()=>production ? "deterministic" : development ? "named" : "natural"), F(optimization, "sideEffects", ()=>!!production || "flag"), D(optimization, "mangleExports", production), D(optimization, "providedExports", !0), D(optimization, "usedExports", production), D(optimization, "innerGraph", production), D(optimization, "emitOnErrors", !production), D(optimization, "runtimeChunk", !1), D(optimization, "realContentHash", production), D(optimization, "avoidEntryIife", !1), D(optimization, "minimize", production), D(optimization, "concatenateModules", production), A(optimization, "minimizer", ()=>[
6134
+ }, applyOptimizationDefaults = (optimization, { production, development, css, deprecatedInline })=>{
6135
+ D(optimization, "removeAvailableModules", !0), D(optimization, "removeEmptyChunks", !0), D(optimization, "mergeDuplicateChunks", !0), F(optimization, "moduleIds", ()=>production ? "deterministic" : development ? "named" : "natural"), F(optimization, "chunkIds", ()=>production ? "deterministic" : development ? "named" : "natural"), F(optimization, "sideEffects", ()=>!!production || "flag"), D(optimization, "mangleExports", production), D(optimization, "inlineExports", deprecatedInline && production), D(optimization, "providedExports", !0), D(optimization, "usedExports", production), D(optimization, "innerGraph", production), D(optimization, "emitOnErrors", !production), D(optimization, "runtimeChunk", !1), D(optimization, "realContentHash", production), D(optimization, "avoidEntryIife", !1), D(optimization, "minimize", production), D(optimization, "concatenateModules", production), A(optimization, "minimizer", ()=>[
6136
6136
  new SwcJsMinimizerRspackPlugin(),
6137
6137
  new LightningCssMinimizerRspackPlugin()
6138
6138
  ]), F(optimization, "nodeEnv", ()=>production ? "production" : !!development && "development");
@@ -6451,7 +6451,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
6451
6451
  plugins: nestedArray(config.plugins, (p)=>[
6452
6452
  ...p
6453
6453
  ]),
6454
- experiments: nestedConfig(config.experiments, (experiments)=>(experiments.layers && external_node_util_default().deprecate(()=>{}, "`experiments.layers` config has been deprecated and will be removed in Rspack v2.0. Feature layers will be always enabled. Please remove this option from your Rspack configuration.")(), !1 === experiments.topLevelAwait && external_node_util_default().deprecate(()=>{}, "`experiments.topLevelAwait` config has been deprecated and will be removed in Rspack v2.0. Top-level await will be always enabled. Please remove this option from your Rspack configuration.")(), experiments.parallelCodeSplitting && external_node_util_default().deprecate(()=>{}, "`experiments.parallelCodeSplitting` config has been deprecated and will be removed in next minor. It has huge regression in some edge cases where the chunk graph has lots of cycles, we'll improve the performance of build_chunk_graph in the future instead")(), {
6454
+ experiments: nestedConfig(config.experiments, (experiments)=>(experiments.layers && external_node_util_default().deprecate(()=>{}, "`experiments.layers` config has been deprecated and will be removed in Rspack v2.0. Feature layers will be always enabled. Please remove this option from your Rspack configuration.")(), !1 === experiments.topLevelAwait && external_node_util_default().deprecate(()=>{}, "`experiments.topLevelAwait` config has been deprecated and will be removed in Rspack v2.0. Top-level await will be always enabled. Please remove this option from your Rspack configuration.")(), experiments.parallelCodeSplitting && external_node_util_default().deprecate(()=>{}, "`experiments.parallelCodeSplitting` config has been deprecated and will be removed in next minor. It has huge regression in some edge cases where the chunk graph has lots of cycles, we'll improve the performance of build_chunk_graph in the future instead")(), experiments.lazyBarrel && external_node_util_default().deprecate(()=>{}, "`experiments.lazyBarrel` config has been deprecated and will be removed in Rspack v2.0. Lazy barrel is already stable and enabled by default. Please remove this option from your Rspack configuration.")(), experiments.inlineConst && external_node_util_default().deprecate(()=>{}, "`experiments.inlineConst` config has been deprecated and will be removed in Rspack v2.0. Inline Const is already stable and enabled by default. Please remove this option from your Rspack configuration.")(), experiments.inlineEnum && external_node_util_default().deprecate(()=>{}, "`experiments.inlineEnum` config has been deprecated and will be removed in Rspack v2.0. Inline Enum is already stable. Please remove this option from your Rspack configuration.")(), experiments.typeReexportsPresence && external_node_util_default().deprecate(()=>{}, "`experiments.typeReexportsPresence` config has been deprecated and will be removed in Rspack v2.0. typeReexportsPresence is already stable. Please remove this option from your Rspack configuration.")(), {
6455
6455
  ...experiments,
6456
6456
  cache: optionalNestedConfig(experiments.cache, (cache)=>{
6457
6457
  if ("boolean" == typeof cache || "memory" === cache.type) return cache;
@@ -6470,7 +6470,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
6470
6470
  managedPaths: optionalNestedArray(snapshot.managedPaths, (p)=>[
6471
6471
  ...p
6472
6472
  ]) || [
6473
- /\/node_modules\//
6473
+ /[\\/]node_modules[\\/][^.]/
6474
6474
  ]
6475
6475
  },
6476
6476
  storage: {
@@ -7599,7 +7599,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
7599
7599
  });
7600
7600
  }
7601
7601
  }
7602
- let CORE_VERSION = "1.6.8-canary-2fd81281-20251216180302", bindingVersionCheck_errorMessage = (coreVersion, expectedCoreVersion)=>process.env.RSPACK_BINDING ? `Unmatched version @rspack/core@${coreVersion} and binding version.
7602
+ let CORE_VERSION = "1.7.0-canary-a0fc091c-20251217174017", bindingVersionCheck_errorMessage = (coreVersion, expectedCoreVersion)=>process.env.RSPACK_BINDING ? `Unmatched version @rspack/core@${coreVersion} and binding version.
7603
7603
 
7604
7604
  Help:
7605
7605
  Looks like you are using a custom binding (via environment variable 'RSPACK_BINDING=${process.env.RSPACK_BINDING}').
@@ -8908,7 +8908,7 @@ Help:
8908
8908
  obj.children = this.stats.map((stat, idx)=>{
8909
8909
  let obj = stat.toJson(childOptions.children[idx]), compilationName = stat.compilation.name;
8910
8910
  return obj.name = compilationName && makePathsRelative(childOptions.context, compilationName, stat.compilation.compiler.root), obj;
8911
- }), childOptions.version && (obj.rspackVersion = "1.6.8-canary-2fd81281-20251216180302", obj.version = "5.75.0"), childOptions.hash && (obj.hash = obj.children.map((j)=>j.hash).join(""));
8911
+ }), childOptions.version && (obj.rspackVersion = "1.7.0-canary-a0fc091c-20251217174017", obj.version = "5.75.0"), childOptions.hash && (obj.hash = obj.children.map((j)=>j.hash).join(""));
8912
8912
  let mapError = (j, obj)=>({
8913
8913
  ...obj,
8914
8914
  compilerPath: obj.compilerPath ? `${j.name}.${obj.compilerPath}` : j.name
@@ -9818,7 +9818,7 @@ Help:
9818
9818
  object.hash = context.getStatsCompilation(compilation).hash;
9819
9819
  },
9820
9820
  version: (object)=>{
9821
- object.version = "5.75.0", object.rspackVersion = "1.6.8-canary-2fd81281-20251216180302";
9821
+ object.version = "5.75.0", object.rspackVersion = "1.7.0-canary-a0fc091c-20251217174017";
9822
9822
  },
9823
9823
  env: (object, _compilation, _context, { _env })=>{
9824
9824
  object.env = _env;
@@ -11157,7 +11157,7 @@ Help:
11157
11157
  moduleFilenameTemplate: options.output.devtoolModuleFilenameTemplate,
11158
11158
  namespace: options.output.devtoolNamespace
11159
11159
  }).apply(compiler);
11160
- if (new JavascriptModulesPlugin().apply(compiler), new URLPlugin().apply(compiler), new JsonModulesPlugin().apply(compiler), new AssetModulesPlugin().apply(compiler), options.experiments.asyncWebAssembly && new AsyncWebAssemblyModulesPlugin().apply(compiler), options.experiments.css && new CssModulesPlugin().apply(compiler), new lib_EntryOptionPlugin().apply(compiler), assertNotNill(options.context), compiler.hooks.entryOption.call(options.context, options.entry), new RuntimePlugin().apply(compiler), options.experiments.rspackFuture.bundlerInfo && new BundlerInfoRspackPlugin(options.experiments.rspackFuture.bundlerInfo).apply(compiler), new InferAsyncModulesPlugin().apply(compiler), new APIPlugin().apply(compiler), new DataUriPlugin().apply(compiler), new FileUriPlugin().apply(compiler), options.experiments.buildHttp && new HttpUriPlugin(options.experiments.buildHttp).apply(compiler), new EnsureChunkConditionsPlugin().apply(compiler), options.optimization.mergeDuplicateChunks && new MergeDuplicateChunksPlugin().apply(compiler), options.optimization.sideEffects && new SideEffectsFlagPlugin().apply(compiler), options.optimization.providedExports && new FlagDependencyExportsPlugin().apply(compiler), options.optimization.usedExports && new FlagDependencyUsagePlugin("global" === options.optimization.usedExports).apply(compiler), options.optimization.concatenateModules && new ModuleConcatenationPlugin().apply(compiler), (options.experiments.inlineConst || options.experiments.inlineEnum) && new InlineExportsPlugin().apply(compiler), options.optimization.mangleExports && new MangleExportsPlugin("size" !== options.optimization.mangleExports).apply(compiler), options.output.enabledLibraryTypes && options.output.enabledLibraryTypes.length > 0) for (let type of options.output.enabledLibraryTypes)new EnableLibraryPlugin(type).apply(compiler);
11160
+ if (new JavascriptModulesPlugin().apply(compiler), new URLPlugin().apply(compiler), new JsonModulesPlugin().apply(compiler), new AssetModulesPlugin().apply(compiler), options.experiments.asyncWebAssembly && new AsyncWebAssemblyModulesPlugin().apply(compiler), options.experiments.css && new CssModulesPlugin().apply(compiler), new lib_EntryOptionPlugin().apply(compiler), assertNotNill(options.context), compiler.hooks.entryOption.call(options.context, options.entry), new RuntimePlugin().apply(compiler), options.experiments.rspackFuture.bundlerInfo && new BundlerInfoRspackPlugin(options.experiments.rspackFuture.bundlerInfo).apply(compiler), new InferAsyncModulesPlugin().apply(compiler), new APIPlugin().apply(compiler), new DataUriPlugin().apply(compiler), new FileUriPlugin().apply(compiler), options.experiments.buildHttp && new HttpUriPlugin(options.experiments.buildHttp).apply(compiler), new EnsureChunkConditionsPlugin().apply(compiler), options.optimization.mergeDuplicateChunks && new MergeDuplicateChunksPlugin().apply(compiler), options.optimization.sideEffects && new SideEffectsFlagPlugin().apply(compiler), options.optimization.providedExports && new FlagDependencyExportsPlugin().apply(compiler), options.optimization.usedExports && new FlagDependencyUsagePlugin("global" === options.optimization.usedExports).apply(compiler), options.optimization.concatenateModules && new ModuleConcatenationPlugin().apply(compiler), options.optimization.inlineExports && new InlineExportsPlugin().apply(compiler), options.optimization.mangleExports && new MangleExportsPlugin("size" !== options.optimization.mangleExports).apply(compiler), options.output.enabledLibraryTypes && options.output.enabledLibraryTypes.length > 0) for (let type of options.output.enabledLibraryTypes)new EnableLibraryPlugin(type).apply(compiler);
11161
11161
  options.optimization.splitChunks && new SplitChunksPlugin(options.optimization.splitChunks).apply(compiler), options.optimization.removeEmptyChunks && new RemoveEmptyChunksPlugin().apply(compiler), options.optimization.realContentHash && new RealContentHashPlugin().apply(compiler);
11162
11162
  let moduleIds = options.optimization.moduleIds;
11163
11163
  if (moduleIds) switch(moduleIds){
@@ -12037,7 +12037,7 @@ Help:
12037
12037
  let _options = JSON.stringify(options || {});
12038
12038
  return binding_default().transform(source, _options);
12039
12039
  }
12040
- let exports_rspackVersion = "1.6.8-canary-2fd81281-20251216180302", exports_version = "5.75.0", exports_WebpackError = Error, sources = __webpack_require__("webpack-sources"), exports_config = {
12040
+ let exports_rspackVersion = "1.7.0-canary-a0fc091c-20251217174017", exports_version = "5.75.0", exports_WebpackError = Error, sources = __webpack_require__("webpack-sources"), exports_config = {
12041
12041
  getNormalizedRspackOptions: getNormalizedRspackOptions,
12042
12042
  applyRspackOptionsDefaults: applyRspackOptionsDefaults,
12043
12043
  getNormalizedWebpackOptions: getNormalizedRspackOptions,
@@ -12241,11 +12241,11 @@ Help:
12241
12241
  }
12242
12242
  },
12243
12243
  RemoveDuplicateModulesPlugin: RemoveDuplicateModulesPlugin,
12244
+ SubresourceIntegrityPlugin: SubresourceIntegrityPlugin,
12244
12245
  EsmLibraryPlugin: EsmLibraryPlugin,
12245
12246
  RsdoctorPlugin: RsdoctorPluginImpl,
12246
12247
  RstestPlugin: RstestPlugin,
12247
12248
  RslibPlugin: RslibPlugin,
12248
- SubresourceIntegrityPlugin: SubresourceIntegrityPlugin,
12249
12249
  lazyCompilationMiddleware: lazyCompilationMiddleware,
12250
12250
  swc: {
12251
12251
  minify: minify,
@@ -12356,7 +12356,7 @@ Help:
12356
12356
  }, exports_namespaceObject);
12357
12357
  src_fn.rspack = src_fn, src_fn.webpack = src_fn;
12358
12358
  let src_rspack_0 = src_fn, src_0 = src_rspack_0;
12359
- })(), 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 === [
12359
+ })(), 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.SubresourceIntegrityPlugin = __webpack_exports__.SubresourceIntegrityPlugin, 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 === [
12360
12360
  "AsyncDependenciesBlock",
12361
12361
  "BannerPlugin",
12362
12362
  "CircularDependencyRspackPlugin",
@@ -12402,6 +12402,7 @@ Help:
12402
12402
  "SourceMapDevToolPlugin",
12403
12403
  "Stats",
12404
12404
  "StatsErrorCode",
12405
+ "SubresourceIntegrityPlugin",
12405
12406
  "SwcJsMinimizerRspackPlugin",
12406
12407
  "Template",
12407
12408
  "ValidationError",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack-canary/core",
3
- "version": "1.6.8-canary-2fd81281-20251216180302",
3
+ "version": "1.7.0-canary-a0fc091c-20251217174017",
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-2fd81281-20251216180302"
61
+ "@rspack/binding": "npm:@rspack-canary/binding@1.7.0-canary-a0fc091c-20251217174017"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "@swc/helpers": ">=0.5.1"