@rspack/core 0.7.0-beta.0-canary-96d98de-20240517004321 → 0.7.0-beta.0-canary-dfa01cf-20240517063134
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.
|
@@ -135,6 +135,6 @@ function getDefaultEntryRuntime(paths, options, compiler) {
|
|
|
135
135
|
`const __module_federation_container_name__ = ${JSON.stringify((_a = options.name) !== null && _a !== void 0 ? _a : compiler.options.output.uniqueName)}`,
|
|
136
136
|
compiler.webpack.Template.getFunctionContent(require("./default.runtime"))
|
|
137
137
|
].join("\n");
|
|
138
|
-
// use "
|
|
139
|
-
return `data:
|
|
138
|
+
// use "data:text/javascript" to use moduleType "javascript/auto"
|
|
139
|
+
return `data:text/javascript,${content}`;
|
|
140
140
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspack/core",
|
|
3
|
-
"version": "0.7.0-beta.0-canary-
|
|
3
|
+
"version": "0.7.0-beta.0-canary-dfa01cf-20240517063134",
|
|
4
4
|
"webpackVersion": "5.75.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "A Fast Rust-based Web Bundler",
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
"watchpack": "^2.4.0",
|
|
72
72
|
"zod": "^3.21.4",
|
|
73
73
|
"zod-validation-error": "1.3.1",
|
|
74
|
-
"@rspack/
|
|
75
|
-
"@rspack/
|
|
74
|
+
"@rspack/plugin-minify": "^0.7.0-beta.0-canary-dfa01cf-20240517063134",
|
|
75
|
+
"@rspack/core": "0.7.0-beta.0-canary-dfa01cf-20240517063134"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
78
|
"@module-federation/runtime-tools": "0.1.6",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"enhanced-resolve": "5.12.0",
|
|
81
81
|
"tapable": "2.2.1",
|
|
82
82
|
"webpack-sources": "3.2.3",
|
|
83
|
-
"@rspack/binding": "0.7.0-beta.0-canary-
|
|
83
|
+
"@rspack/binding": "0.7.0-beta.0-canary-dfa01cf-20240517063134"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
86
|
"@swc/helpers": ">=0.5.1"
|