@rspack/core 0.5.7-canary-fcec5af-20240319092639 → 0.5.7-canary-9e2ce60-20240320055406
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.
|
@@ -38,7 +38,7 @@ function createBuiltinPlugin(name, options) {
|
|
|
38
38
|
}
|
|
39
39
|
exports.createBuiltinPlugin = createBuiltinPlugin;
|
|
40
40
|
function create(name, resolve,
|
|
41
|
-
// `affectedHooks` is used to inform `createChildCompile` about which builtin plugin can be
|
|
41
|
+
// `affectedHooks` is used to inform `createChildCompile` about which builtin plugin can be reserved.
|
|
42
42
|
// However, this has a drawback as it doesn't represent the actual condition but merely serves as an indicator.
|
|
43
43
|
affectedHooks) {
|
|
44
44
|
class Plugin extends RspackBuiltinPlugin {
|
|
@@ -3,4 +3,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.BuiltinLazyCompilationPlugin = void 0;
|
|
4
4
|
const binding_1 = require("@rspack/binding");
|
|
5
5
|
const base_1 = require("../base");
|
|
6
|
-
exports.BuiltinLazyCompilationPlugin = (0, base_1.create)(binding_1.BuiltinPluginName.LazyCompilation, (module, cacheable, entries, imports, test) => ({ module, cacheable, imports, entries, test }), "
|
|
6
|
+
exports.BuiltinLazyCompilationPlugin = (0, base_1.create)(binding_1.BuiltinPluginName.LazyCompilation, (module, cacheable, entries, imports, test) => ({ module, cacheable, imports, entries, test }), "thisCompilation");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack/core",
|
|
3
|
-
"version": "0.5.7-canary-
|
|
3
|
+
"version": "0.5.7-canary-9e2ce60-20240320055406",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "A Fast Rust-based Web Bundler",
|
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
"styled-components": "^6.0.8",
|
|
56
56
|
"terser": "5.27.2",
|
|
57
57
|
"wast-loader": "^1.11.4",
|
|
58
|
-
"@rspack/core": "0.5.7-canary-
|
|
59
|
-
"@rspack/plugin-
|
|
60
|
-
"@rspack/plugin-
|
|
58
|
+
"@rspack/core": "0.5.7-canary-9e2ce60-20240320055406",
|
|
59
|
+
"@rspack/plugin-minify": "^0.5.7-canary-9e2ce60-20240320055406",
|
|
60
|
+
"@rspack/plugin-node-polyfill": "^0.5.7-canary-9e2ce60-20240320055406"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@module-federation/runtime-tools": "0.0.8",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"webpack-sources": "3.2.3",
|
|
73
73
|
"zod": "^3.21.4",
|
|
74
74
|
"zod-validation-error": "1.3.1",
|
|
75
|
-
"@rspack/binding": "0.5.7-canary-
|
|
75
|
+
"@rspack/binding": "0.5.7-canary-9e2ce60-20240320055406"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
78
|
"@swc/helpers": ">=0.5.1"
|