Skip to content

Commit

Permalink
transpile to older targets
Browse files Browse the repository at this point in the history
Targets should only be modernized in // To be enabled in #126
  • Loading branch information
dcastil committed Aug 19, 2023
1 parent 2ea433b commit b0092db
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,16 @@ export default defineConfig([
getOutputConfig({
file: pkg.exports['.'].import,
format: 'esm',
targets: '> 0.5%, last 2 versions, Firefox ESR, not dead, maintained node versions',
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',
}),
getOutputConfig({
file: pkg.exports['.'].require,
format: 'cjs',
targets: '> 0.5%, last 2 versions, Firefox ESR, not dead, maintained node versions',
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',
}),
],
external: /node_modules/,
Expand Down

0 comments on commit b0092db

Please sign in to comment.