zephyr-modernjs-plugin 0.0.0-canary-20250603193009 → 0.0.0-canary-20250606182149
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.
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ZephyrPluginOptions } from 'zephyr-edge-contract';
|
|
2
1
|
import type { AppTools, CliPluginFuture } from '@modern-js/app-tools';
|
|
2
|
+
import type { ZephyrPluginOptions } from 'zephyr-edge-contract';
|
|
3
3
|
export declare const withZephyr: (zephyrOptions?: ZephyrPluginOptions) => CliPluginFuture<AppTools<"rspack" | "webpack">>;
|
|
@@ -70,13 +70,13 @@ function zephyrFixPublicPath() {
|
|
|
70
70
|
setup(api) {
|
|
71
71
|
api.modifyWebpackConfig(async (config, { isServer }) => {
|
|
72
72
|
if (!isServer) {
|
|
73
|
-
|
|
73
|
+
zephyr_agent_1.ze_log.misc('Modifying publicPath for Dev Server');
|
|
74
74
|
config.output = { ...config.output, publicPath: 'auto' };
|
|
75
75
|
}
|
|
76
76
|
});
|
|
77
77
|
api.modifyRspackConfig(async (config, { isServer }) => {
|
|
78
78
|
if (!isServer) {
|
|
79
|
-
|
|
79
|
+
zephyr_agent_1.ze_log.misc('Modifying publicPath for Dev Server');
|
|
80
80
|
config.output = { ...config.output, publicPath: 'auto' };
|
|
81
81
|
}
|
|
82
82
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"with-zephyr.js","sourceRoot":"","sources":["../../src/modernjs-plugin/with-zephyr.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"with-zephyr.js","sourceRoot":"","sources":["../../src/modernjs-plugin/with-zephyr.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,+CAAsC;AAGtC,MAAM,UAAU,GAAG,wBAAwB,CAAC;AAC5C,MAAM,KAAK,GAAG,OAAO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AAEH,SAAS,mBAAmB;IAC1B,OAAO;QACL,IAAI,EAAE,uBAAuB;QAC7B,GAAG,EAAE,CAAC,UAAU,CAAC;QACjB,KAAK,CAAC,GAAG;YACP,GAAG,CAAC,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;gBACrD,IAAI,CAAC,QAAQ,EAAE,CAAC;oBACd,qBAAM,CAAC,IAAI,CAAC,qCAAqC,CAAC,CAAC;oBACnD,MAAM,CAAC,MAAM,GAAG,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;gBAC3D,CAAC;YACH,CAAC,CAAC,CAAC;YAEH,GAAG,CAAC,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;gBACpD,IAAI,CAAC,QAAQ,EAAE,CAAC;oBACd,qBAAM,CAAC,IAAI,CAAC,qCAAqC,CAAC,CAAC;oBACnD,MAAM,CAAC,MAAM,GAAG,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;gBAC3D,CAAC;YACH,CAAC,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC"}
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zephyr-modernjs-plugin",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20250606182149",
|
|
4
4
|
"description": "Modernjs plugin for Zephyr",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"@modern-js/app-tools": "^2.66.0",
|
|
20
20
|
"is-ci": "^4.1.0",
|
|
21
21
|
"tslib": "^2.8.1",
|
|
22
|
-
"zephyr-agent": "0.0.0-canary-
|
|
23
|
-
"zephyr-
|
|
24
|
-
"zephyr-
|
|
22
|
+
"zephyr-agent": "0.0.0-canary-20250606182149",
|
|
23
|
+
"zephyr-xpack-internal": "0.0.0-canary-20250606182149",
|
|
24
|
+
"zephyr-edge-contract": "0.0.0-canary-20250606182149"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/is-ci": "3.0.4",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"ts-jest": "^29.2.6"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"zephyr-rspack-plugin": "0.0.0-canary-
|
|
35
|
-
"zephyr-webpack-plugin": "0.0.0-canary-
|
|
34
|
+
"zephyr-rspack-plugin": "0.0.0-canary-20250606182149",
|
|
35
|
+
"zephyr-webpack-plugin": "0.0.0-canary-20250606182149"
|
|
36
36
|
},
|
|
37
37
|
"peerDependenciesMeta": {
|
|
38
38
|
"zephyr-rspack-plugin": {
|