diff --git a/scripts/rollup.config.mjs b/scripts/rollup.config.mjs index 591b67b5..de4a3f16 100644 --- a/scripts/rollup.config.mjs +++ b/scripts/rollup.config.mjs @@ -18,16 +18,12 @@ export default defineConfig([ getOutputConfig({ file: pkg.exports['.'].import, format: 'esm', - targets: 'supports es5', - // To be enabled in https://github.com/dcastil/tailwind-merge/issues/126 - // targets: '> 0.5%, last 2 versions, Firefox ESR, not dead, maintained node versions', + targets: '> 0.5%, last 2 versions, Firefox ESR, not dead, maintained node versions', }), getOutputConfig({ file: pkg.exports['.'].require, format: 'cjs', - targets: 'supports es5', - // To be enabled in https://github.com/dcastil/tailwind-merge/issues/126 - // targets: '> 0.5%, last 2 versions, Firefox ESR, not dead, maintained node versions', + targets: '> 0.5%, last 2 versions, Firefox ESR, not dead, maintained node versions', }), ], external: /node_modules/, diff --git a/tsconfig.json b/tsconfig.json index abc22bc0..30f54f75 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,7 +13,7 @@ // Emit "declaration": true, "noEmit": true, - "outDir": "dist/types", + "outDir": "types", "sourceMap": true, // Interop Constraints "esModuleInterop": true,