Skip to content

Commit

Permalink
build: 👷 update babel config
Browse files Browse the repository at this point in the history
  • Loading branch information
thkruz committed Jul 23, 2023
1 parent d790d63 commit f028e5e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .babelrc

This file was deleted.

16 changes: 16 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// eslint-disable-next-line no-undef
module.exports = {
presets: [
[
'@babel/preset-env',
{
targets: {
esmodules: true,
},
// modules: "umd", -- THIS IS FOR DOING THE LIB VERSION OF KEEPTRACK
},
],
'@babel/preset-typescript',
],
compact: 'auto',
};

0 comments on commit f028e5e

Please sign in to comment.