zephyr-rsbuild-plugin 1.0.0-next.1 → 1.0.1
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/package.json
CHANGED
|
@@ -15,9 +15,13 @@ function withZephyr(options) {
|
|
|
15
15
|
handler: async ({ bundlerConfigs }) => {
|
|
16
16
|
// Process each bundler config (one per environment)
|
|
17
17
|
for (const config of bundlerConfigs) {
|
|
18
|
+
// Rsbuild and the rspack plugin can resolve compatible patch versions
|
|
19
|
+
// of @rspack/core independently, which makes their config types nominally
|
|
20
|
+
// incompatible in TS even though the runtime config shape is the same.
|
|
21
|
+
const rspackConfig = config;
|
|
18
22
|
// Apply Zephyr's rspack transformation
|
|
19
23
|
// The real MF plugin is already present in the config and rspackWithZephyr will extract from it
|
|
20
|
-
const result = await (0, zephyr_rspack_plugin_1.withZephyr)(options)(
|
|
24
|
+
const result = await (0, zephyr_rspack_plugin_1.withZephyr)(options)(rspackConfig);
|
|
21
25
|
// Merge result back (rspackWithZephyr may return a new config or void)
|
|
22
26
|
if (result) {
|
|
23
27
|
Object.assign(config, result);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"with-zephyr.js","sourceRoot":"","sources":["../../src/rsbuild-plugin/with-zephyr.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"with-zephyr.js","sourceRoot":"","sources":["../../src/rsbuild-plugin/with-zephyr.ts"],"names":[],"mappings":";;AAaA,gCA+BC;AA3CD,+DAG8B;AAS9B,SAAgB,UAAU,CAAC,OAAoC;IAC7D,OAAO;QACL,IAAI,EAAE,uBAAuB;QAC7B,KAAK,CAAC,GAAG;YACP,gGAAgG;YAChG,gGAAgG;YAChG,4CAA4C;YAC5C,gFAAgF;YAChF,GAAG,CAAC,sBAAsB,CAAC;gBACzB,KAAK,EAAE,MAAM;gBACb,OAAO,EAAE,KAAK,EAAE,EAAE,cAAc,EAAE,EAAE,EAAE;oBACpC,oDAAoD;oBACpD,KAAK,MAAM,MAAM,IAAI,cAAc,EAAE,CAAC;wBACpC,sEAAsE;wBACtE,0EAA0E;wBAC1E,uEAAuE;wBACvE,MAAM,YAAY,GAAG,MAAgC,CAAC;wBAEtD,uCAAuC;wBACvC,gGAAgG;wBAChG,MAAM,MAAM,GAAG,MAAM,IAAA,iCAAgB,EAAC,OAAO,CAAC,CAAC,YAAY,CAAC,CAAC;wBAE7D,uEAAuE;wBACvE,IAAI,MAAM,EAAE,CAAC;4BACX,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;wBAChC,CAAC;oBACH,CAAC;gBACH,CAAC;aACF,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zephyr-rsbuild-plugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Rsbuild plugin for Zephyr",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"main": "dist/index.js",
|
|
17
17
|
"types": "dist/index.d.ts",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"zephyr-rspack-plugin": "1.0.
|
|
19
|
+
"zephyr-rspack-plugin": "1.0.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@rsbuild/core": "^1.7.1",
|