@modern-js/plugin-module-import 2.8.0 → 2.8.1-beta.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/cjs/index.js CHANGED
@@ -41,13 +41,6 @@ var src_default = (options) => ({
41
41
  const { transformPlugin } = await Promise.resolve().then(() => __toESM(require("@modern-js/libuild-plugin-swc")));
42
42
  (_b = config.plugins) == null ? void 0 : _b.push(
43
43
  transformPlugin({
44
- jsc: {
45
- parser: {
46
- syntax: "ecmascript",
47
- jsx: true
48
- },
49
- target: "es2022"
50
- },
51
44
  extensions: {
52
45
  pluginImport: (_a = options.pluginImport) != null ? _a : []
53
46
  }
package/dist/esm/index.js CHANGED
@@ -9,13 +9,6 @@ var src_default = (options) => ({
9
9
  const { transformPlugin } = await import("@modern-js/libuild-plugin-swc");
10
10
  (_b = config.plugins) == null ? void 0 : _b.push(
11
11
  transformPlugin({
12
- jsc: {
13
- parser: {
14
- syntax: "ecmascript",
15
- jsx: true
16
- },
17
- target: "es2022"
18
- },
19
12
  extensions: {
20
13
  pluginImport: (_a = options.pluginImport) != null ? _a : []
21
14
  }
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "2.8.0",
14
+ "version": "2.8.1-beta.0",
15
15
  "types": "./dist/types/index.d.ts",
16
16
  "main": "./dist/cjs/index.js",
17
17
  "exports": {
@@ -33,9 +33,9 @@
33
33
  "typescript": "^4",
34
34
  "jest": "^27",
35
35
  "@modern-js/libuild": "~0.11.0",
36
+ "@modern-js/module-tools": "2.8.0",
36
37
  "@scripts/build": "2.8.0",
37
- "@scripts/jest-config": "2.8.0",
38
- "@modern-js/module-tools": "2.8.0"
38
+ "@scripts/jest-config": "2.8.0"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@modern-js/module-tools": "^2.8.0"