Skip to content

Commit

Permalink
Drop IE support for the bundled script
Browse files Browse the repository at this point in the history
  • Loading branch information
sonnyp committed Dec 21, 2024
1 parent db2490e commit 8586356
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 45 deletions.
18 changes: 2 additions & 16 deletions babel.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,7 @@ module.exports = function config(api) {
}

return {
presets: [
[
"@babel/preset-env",
{
targets: {
ie: "10",
},
loose: true,
},
],
],
plugins: [
"@babel/plugin-transform-runtime",
"babel-plugin-transform-async-to-promises",
"@babel/plugin-proposal-object-rest-spread",
],
presets: [["@babel/preset-env"]],
plugins: ["@babel/plugin-transform-runtime"],
};
};
25 changes: 0 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@
"type": "module",
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/plugin-proposal-object-rest-spread": "^7.16.5",
"@babel/plugin-transform-modules-commonjs": "^7.26.3",
"@babel/plugin-transform-react-jsx": "^7.25.9",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/runtime": "^7.26.0",
"babel-jest": "^29.7.0",
"babel-plugin-jsx-pragmatic": "^1.0.2",
"babel-plugin-transform-async-to-promises": "^0.8.18",
"babelify": "^10.0.0",
"babylon": "^6.18.0",
"browser-pack-flat": "^3.5.0",
Expand Down Expand Up @@ -49,11 +47,12 @@
"bundlesize": [
{
"path": "./packages/client/dist/xmpp.min.js",
"maxSize": "17 KB"
"maxSize": "15 KB"
}
],
"lint-staged": {
"*.{js,cjs,mjs}": "eslint --cache --fix",
"*.{json,md,html,css,yaml,yml}": "prettier --write"
}
},
"browserslist": "> 0.25%, not dead"
}

0 comments on commit 8586356

Please sign in to comment.