Skip to content

Commit

Permalink
Rollup config
Browse files Browse the repository at this point in the history
  • Loading branch information
jackson authored and jackson committed Nov 28, 2024
1 parent 6166da2 commit c038964
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,11 @@ module.exports = {
"@babel/preset-react",
"@babel/preset-typescript"
],
};
env: {
testing: {
presets: [
[ "@babel/preset-env", { targets: { node: 'current' }}],
]
}
}
};
3 changes: 2 additions & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ export default [
format: 'cjs',
sourcemap: true,
exports: 'named',
noConflict: true
noConflict: true,
interop: "auto",
},
{
file: pkg.module,
Expand Down

0 comments on commit c038964

Please sign in to comment.