@modern-js/plugin-module-babel 2.41.0 → 2.42.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 +3 -3
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { TransformOptions as BabelTransformOptions } from '@babel/core';
|
|
2
2
|
import { CliPlugin, ICompiler, ModuleTools } from '@modern-js/module-tools';
|
|
3
3
|
export declare const getBabelHook: (options?: BabelTransformOptions) => {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
name: string;
|
|
5
|
+
apply(compiler: ICompiler): void;
|
|
6
6
|
};
|
|
7
7
|
export declare const modulePluginBabel: (options?: BabelTransformOptions) => CliPlugin<ModuleTools>;
|
|
8
8
|
/**
|
|
9
9
|
* deprecated named export, use modulePluginBabel instead.
|
|
10
10
|
* @deprecated
|
|
11
11
|
*/
|
|
12
|
-
export declare const ModulePluginBabel: (options?: BabelTransformOptions) => CliPlugin<ModuleTools>;
|
|
12
|
+
export declare const ModulePluginBabel: (options?: BabelTransformOptions) => CliPlugin<ModuleTools>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modern-js/plugin-module-babel",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.42.0",
|
|
4
4
|
"description": "The babel plugin of Modern.js Module",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"@types/node": "^14",
|
|
30
30
|
"jest": "^29",
|
|
31
31
|
"typescript": "^5",
|
|
32
|
-
"@
|
|
33
|
-
"@scripts/
|
|
34
|
-
"@
|
|
32
|
+
"@scripts/build": "2.42.0",
|
|
33
|
+
"@scripts/jest-config": "2.42.0",
|
|
34
|
+
"@modern-js/module-tools": "2.42.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@modern-js/module-tools": "^2.
|
|
37
|
+
"@modern-js/module-tools": "^2.42.0"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public",
|