Skip to content

Commit

Permalink
Upgrade dependencies and get rid of obsolete UMD build
Browse files Browse the repository at this point in the history
  • Loading branch information
zewish committed Dec 8, 2023
1 parent aa3d335 commit 7dd62c0
Show file tree
Hide file tree
Showing 6 changed files with 204 additions and 1,616 deletions.
8 changes: 4 additions & 4 deletions .babelrc.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ export default {
],
presets: getPresets(),
env: {
es: {
cjs: {
presets: getPresets({ modules: 'commonjs' })
},
mjs: {
presets: getPresets({ modules: false }),
plugins: [
[require.resolve('babel-plugin-module-extension-resolver'), {
dstExtension: '.mjs'
}]
]
},
lib: {
presets: getPresets({ modules: 'commonjs' })
},
test: {
presets: getPresets({
targets: { node: 'current' }
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
node_modules/
es/
cjs/
dist/
coverage/
.DS_Store
types/
demo-web/bundle.js
demo-web/bundle.js.map
Loading

0 comments on commit 7dd62c0

Please sign in to comment.