@rspack/core 0.7.2-canary-a1e014e-20240605042614 → 0.7.2-canary-6ace5d3-20240606022222

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.
@@ -219,6 +219,9 @@ async function runLoaders(compiler, rawContext) {
219
219
  for (const dep of res.fileDependencies) {
220
220
  this.addDependency(dep);
221
221
  }
222
+ if (res.cacheable === false) {
223
+ this.cacheable(false);
224
+ }
222
225
  assetFilenames.push(...res.assets);
223
226
  resolve(compiler.__internal__getModuleExecutionResult(res.id));
224
227
  }
@@ -244,6 +247,9 @@ async function runLoaders(compiler, rawContext) {
244
247
  for (const dep of res.fileDependencies) {
245
248
  this.addDependency(dep);
246
249
  }
250
+ if (res.cacheable === false) {
251
+ this.cacheable(false);
252
+ }
247
253
  assetFilenames.push(...res.assets);
248
254
  callback(undefined, compiler.__internal__getModuleExecutionResult(res.id));
249
255
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack/core",
3
- "version": "0.7.2-canary-a1e014e-20240605042614",
3
+ "version": "0.7.2-canary-6ace5d3-20240606022222",
4
4
  "webpackVersion": "5.75.0",
5
5
  "license": "MIT",
6
6
  "description": "A Fast Rust-based Web Bundler",
@@ -72,15 +72,15 @@
72
72
  "watchpack": "^2.4.0",
73
73
  "zod": "^3.21.4",
74
74
  "zod-validation-error": "1.3.1",
75
- "@rspack/core": "0.7.2-canary-a1e014e-20240605042614",
76
- "@rspack/plugin-minify": "^0.7.2-canary-a1e014e-20240605042614"
75
+ "@rspack/core": "0.7.2-canary-6ace5d3-20240606022222",
76
+ "@rspack/plugin-minify": "^0.7.2-canary-6ace5d3-20240606022222"
77
77
  },
78
78
  "dependencies": {
79
79
  "@module-federation/runtime-tools": "0.1.6",
80
80
  "caniuse-lite": "^1.0.30001616",
81
81
  "tapable": "2.2.1",
82
82
  "webpack-sources": "3.2.3",
83
- "@rspack/binding": "0.7.2-canary-a1e014e-20240605042614"
83
+ "@rspack/binding": "0.7.2-canary-6ace5d3-20240606022222"
84
84
  },
85
85
  "peerDependencies": {
86
86
  "@swc/helpers": ">=0.5.1"