@modern-js/plugin-swc 2.58.2 → 2.59.0
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/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +8 -8
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AppTools, CliPlugin } from '@modern-js/app-tools';
|
|
2
|
-
import { type PluginSwcOptions } from '@rsbuild/plugin-swc';
|
|
3
2
|
import type { ToolsUserConfig } from '@modern-js/app-tools/src/types/config/tools';
|
|
3
|
+
import { type PluginSwcOptions } from '@rsbuild/plugin-swc';
|
|
4
4
|
export declare function factory(name: string, modifySwcOptions: (options: PluginSwcOptions) => PluginSwcOptions): () => CliPlugin<AppTools>;
|
|
5
5
|
export declare function applyBuilderSwcConfig(swc: PluginSwcOptions, esbuild: ToolsUserConfig['esbuild'] | undefined, isSSR: boolean): PluginSwcOptions;
|
|
6
6
|
export declare const swcPlugin: () => CliPlugin<AppTools>;
|
package/dist/index.js
CHANGED
|
@@ -25,8 +25,8 @@ __export(src_exports, {
|
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(src_exports);
|
|
27
27
|
var import_utils = require("@modern-js/utils");
|
|
28
|
-
var import_plugin_swc = require("@rsbuild/plugin-swc");
|
|
29
28
|
var import_logger = require("@modern-js/utils/logger");
|
|
29
|
+
var import_plugin_swc = require("@rsbuild/plugin-swc");
|
|
30
30
|
function factory(name, modifySwcOptions) {
|
|
31
31
|
return () => ({
|
|
32
32
|
name,
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"modern",
|
|
15
15
|
"modern.js"
|
|
16
16
|
],
|
|
17
|
-
"version": "2.
|
|
17
|
+
"version": "2.59.0",
|
|
18
18
|
"jsnext:source": "./src/index.ts",
|
|
19
19
|
"types": "./dist/index.d.ts",
|
|
20
20
|
"main": "./dist/index.js",
|
|
@@ -31,19 +31,19 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@rsbuild/core": "1.0.1-
|
|
35
|
-
"@rsbuild/plugin-swc": "1.0.1-
|
|
34
|
+
"@rsbuild/core": "1.0.1-rc.4",
|
|
35
|
+
"@rsbuild/plugin-swc": "1.0.1-rc.4",
|
|
36
36
|
"@swc/helpers": "0.5.3",
|
|
37
|
-
"@modern-js/utils": "2.
|
|
37
|
+
"@modern-js/utils": "2.59.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/jest": "^29",
|
|
41
41
|
"@types/node": "^14",
|
|
42
42
|
"typescript": "^5",
|
|
43
|
-
"@modern-js/app-tools": "2.
|
|
44
|
-
"@
|
|
45
|
-
"@
|
|
46
|
-
"@scripts/jest-config": "2.
|
|
43
|
+
"@modern-js/app-tools": "2.59.0",
|
|
44
|
+
"@modern-js/types": "2.59.0",
|
|
45
|
+
"@scripts/build": "2.59.0",
|
|
46
|
+
"@scripts/jest-config": "2.59.0"
|
|
47
47
|
},
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"registry": "https://registry.npmjs.org/",
|