Skip to content

Commit

Permalink
build: dual build instead fo esm
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Sep 1, 2020
1 parent 1b75115 commit 84c6318
Show file tree
Hide file tree
Showing 16 changed files with 9,460 additions and 11,651 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
coverage/
*.js
*.mjs
!.config.js
!main.js
*.d.ts
Expand Down
25 changes: 0 additions & 25 deletions babel.config.js

This file was deleted.

23 changes: 23 additions & 0 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"presets": [
"@babel/preset-typescript"
],
"plugins": [
[
"@babel/plugin-proposal-decorators",
{
"decoratorsBeforeExport": true
}
],
[
"@babel/proposal-class-properties"
],
"@babel/proposal-object-rest-spread",
[
"babel-plugin-add-import-extension",
{
"extension": "mjs"
}
]
]
}
4 changes: 0 additions & 4 deletions main.js

This file was deleted.

Loading

0 comments on commit 84c6318

Please sign in to comment.