@rspack/core 0.5.9-canary-6bcb6c4-20240326140146 → 0.5.9-canary-845e837-20240327011520
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/Compiler.js
CHANGED
|
@@ -145,7 +145,6 @@ class Compiler {
|
|
|
145
145
|
__classPrivateFieldSet(this, _Compiler_disabledHooks, [], "f");
|
|
146
146
|
__classPrivateFieldSet(this, _Compiler_nonSkippableRegisters, [], "f");
|
|
147
147
|
__classPrivateFieldSet(this, _Compiler_moduleExecutionResultsMap, new Map(), "f");
|
|
148
|
-
new builtin_plugin_1.JsLoaderRspackPlugin(this).apply(this);
|
|
149
148
|
new ExecuteModulePlugin_1.default().apply(this);
|
|
150
149
|
}
|
|
151
150
|
/**
|
|
@@ -4,6 +4,4 @@ exports.JsLoaderRspackPlugin = void 0;
|
|
|
4
4
|
const binding_1 = require("@rspack/binding");
|
|
5
5
|
const base_1 = require("./base");
|
|
6
6
|
const loader_runner_1 = require("../loader-runner");
|
|
7
|
-
exports.JsLoaderRspackPlugin = (0, base_1.create)(binding_1.BuiltinPluginName.JsLoaderRspackPlugin, (compiler) => loader_runner_1.runLoaders.bind(null, compiler),
|
|
8
|
-
/* Not Inheretable */
|
|
9
|
-
"thisCompilation");
|
|
7
|
+
exports.JsLoaderRspackPlugin = (0, base_1.create)(binding_1.BuiltinPluginName.JsLoaderRspackPlugin, (compiler) => loader_runner_1.runLoaders.bind(null, compiler), "compilation");
|
|
@@ -137,6 +137,7 @@ class RspackOptionsApply {
|
|
|
137
137
|
if (options.experiments.asyncWebAssembly) {
|
|
138
138
|
new builtin_plugin_1.AsyncWebAssemblyModulesPlugin().apply(compiler);
|
|
139
139
|
}
|
|
140
|
+
new builtin_plugin_1.JsLoaderRspackPlugin(compiler).apply(compiler);
|
|
140
141
|
if (options.experiments.rspackFuture.disableApplyEntryLazily) {
|
|
141
142
|
applyEntryOptions(compiler, options);
|
|
142
143
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack/core",
|
|
3
|
-
"version": "0.5.9-canary-
|
|
3
|
+
"version": "0.5.9-canary-845e837-20240327011520",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "A Fast Rust-based Web Bundler",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"styled-components": "^6.0.8",
|
|
57
57
|
"terser": "5.27.2",
|
|
58
58
|
"wast-loader": "^1.11.4",
|
|
59
|
-
"@rspack/core": "0.5.9-canary-
|
|
60
|
-
"@rspack/plugin-minify": "^0.5.9-canary-
|
|
59
|
+
"@rspack/core": "0.5.9-canary-845e837-20240327011520",
|
|
60
|
+
"@rspack/plugin-minify": "^0.5.9-canary-845e837-20240327011520"
|
|
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.9-canary-
|
|
75
|
+
"@rspack/binding": "0.5.9-canary-845e837-20240327011520"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
78
|
"@swc/helpers": ">=0.5.1"
|