diff --git a/packages/babel-plugin-add-jsx-attribute/package.json b/packages/babel-plugin-add-jsx-attribute/package.json index 869fbb24..f23c1fc6 100644 --- a/packages/babel-plugin-add-jsx-attribute/package.json +++ b/packages/babel-plugin-add-jsx-attribute/package.json @@ -6,8 +6,8 @@ "types": "./dist/index.d.ts", "exports": { ".": { - "require": "./dist/index.js", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" }, "./package.json": "./package.json" }, diff --git a/packages/babel-plugin-remove-jsx-attribute/package.json b/packages/babel-plugin-remove-jsx-attribute/package.json index a325475d..48e9c1ba 100644 --- a/packages/babel-plugin-remove-jsx-attribute/package.json +++ b/packages/babel-plugin-remove-jsx-attribute/package.json @@ -6,8 +6,8 @@ "types": "./dist/index.d.ts", "exports": { ".": { - "require": "./dist/index.js", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" }, "./package.json": "./package.json" }, diff --git a/packages/babel-plugin-remove-jsx-empty-expression/package.json b/packages/babel-plugin-remove-jsx-empty-expression/package.json index d1b4612b..c3f340c3 100644 --- a/packages/babel-plugin-remove-jsx-empty-expression/package.json +++ b/packages/babel-plugin-remove-jsx-empty-expression/package.json @@ -6,8 +6,8 @@ "types": "./dist/index.d.ts", "exports": { ".": { - "require": "./dist/index.js", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" }, "./package.json": "./package.json" }, diff --git a/packages/babel-plugin-replace-jsx-attribute-value/package.json b/packages/babel-plugin-replace-jsx-attribute-value/package.json index 4c1c491e..0f2d9352 100644 --- a/packages/babel-plugin-replace-jsx-attribute-value/package.json +++ b/packages/babel-plugin-replace-jsx-attribute-value/package.json @@ -6,8 +6,8 @@ "types": "./dist/index.d.ts", "exports": { ".": { - "require": "./dist/index.js", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" }, "./package.json": "./package.json" }, diff --git a/packages/babel-plugin-svg-dynamic-title/package.json b/packages/babel-plugin-svg-dynamic-title/package.json index 9ca49add..ce03ef0c 100644 --- a/packages/babel-plugin-svg-dynamic-title/package.json +++ b/packages/babel-plugin-svg-dynamic-title/package.json @@ -6,8 +6,8 @@ "types": "./dist/index.d.ts", "exports": { ".": { - "require": "./dist/index.js", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" }, "./package.json": "./package.json" }, diff --git a/packages/babel-plugin-svg-em-dimensions/package.json b/packages/babel-plugin-svg-em-dimensions/package.json index 7b434baa..98bbdb9e 100644 --- a/packages/babel-plugin-svg-em-dimensions/package.json +++ b/packages/babel-plugin-svg-em-dimensions/package.json @@ -6,8 +6,8 @@ "types": "./dist/index.d.ts", "exports": { ".": { - "require": "./dist/index.js", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" }, "./package.json": "./package.json" }, diff --git a/packages/babel-plugin-transform-react-native-svg/package.json b/packages/babel-plugin-transform-react-native-svg/package.json index 854aed2a..6b098b37 100644 --- a/packages/babel-plugin-transform-react-native-svg/package.json +++ b/packages/babel-plugin-transform-react-native-svg/package.json @@ -6,8 +6,8 @@ "types": "./dist/index.d.ts", "exports": { ".": { - "require": "./dist/index.js", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" }, "./package.json": "./package.json" }, diff --git a/packages/babel-plugin-transform-svg-component/package.json b/packages/babel-plugin-transform-svg-component/package.json index aff73a9c..3c55e34c 100644 --- a/packages/babel-plugin-transform-svg-component/package.json +++ b/packages/babel-plugin-transform-svg-component/package.json @@ -6,8 +6,8 @@ "types": "./dist/index.d.ts", "exports": { ".": { - "require": "./dist/index.js", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" }, "./package.json": "./package.json" }, diff --git a/packages/babel-preset/package.json b/packages/babel-preset/package.json index 86953be1..3555019a 100644 --- a/packages/babel-preset/package.json +++ b/packages/babel-preset/package.json @@ -6,8 +6,8 @@ "types": "./dist/index.d.ts", "exports": { ".": { - "require": "./dist/index.js", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" }, "./package.json": "./package.json" }, diff --git a/packages/core/package.json b/packages/core/package.json index e7cbfe7f..2fbb073c 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -6,8 +6,8 @@ "types": "./dist/index.d.ts", "exports": { ".": { - "require": "./dist/index.js", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" }, "./package.json": "./package.json" }, diff --git a/packages/hast-util-to-babel-ast/package.json b/packages/hast-util-to-babel-ast/package.json index eadd3551..fead6fd6 100644 --- a/packages/hast-util-to-babel-ast/package.json +++ b/packages/hast-util-to-babel-ast/package.json @@ -6,8 +6,8 @@ "types": "./dist/index.d.ts", "exports": { ".": { - "require": "./dist/index.js", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" }, "./package.json": "./package.json" }, diff --git a/packages/plugin-jsx/package.json b/packages/plugin-jsx/package.json index f0c7cd92..5cbeb5d5 100644 --- a/packages/plugin-jsx/package.json +++ b/packages/plugin-jsx/package.json @@ -6,8 +6,8 @@ "types": "./dist/index.d.ts", "exports": { ".": { - "require": "./dist/index.js", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" }, "./package.json": "./package.json" }, diff --git a/packages/plugin-prettier/package.json b/packages/plugin-prettier/package.json index 654526d3..9a1b316b 100644 --- a/packages/plugin-prettier/package.json +++ b/packages/plugin-prettier/package.json @@ -6,8 +6,8 @@ "types": "./dist/index.d.ts", "exports": { ".": { - "require": "./dist/index.js", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" }, "./package.json": "./package.json" }, diff --git a/packages/plugin-svgo/package.json b/packages/plugin-svgo/package.json index 9aeb7537..e1394ac5 100644 --- a/packages/plugin-svgo/package.json +++ b/packages/plugin-svgo/package.json @@ -6,8 +6,8 @@ "types": "./dist/index.d.ts", "exports": { ".": { - "require": "./dist/index.js", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" }, "./package.json": "./package.json" }, diff --git a/packages/rollup/package.json b/packages/rollup/package.json index bc97ef5c..47ff5e20 100644 --- a/packages/rollup/package.json +++ b/packages/rollup/package.json @@ -6,8 +6,8 @@ "types": "./dist/index.d.ts", "exports": { ".": { - "require": "./dist/index.js", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" }, "./package.json": "./package.json" }, diff --git a/packages/webpack/package.json b/packages/webpack/package.json index 53764e16..57c7ff2d 100644 --- a/packages/webpack/package.json +++ b/packages/webpack/package.json @@ -6,8 +6,8 @@ "types": "./dist/index.d.ts", "exports": { ".": { - "require": "./dist/index.js", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" }, "./package.json": "./package.json" },