Skip to content

Commit

Permalink
make the built output compatible with older browsers (see josdejong#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Jun 4, 2024
1 parent e633104 commit f01d519
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
1 change: 1 addition & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
IE 10
12 changes: 12 additions & 0 deletions package-lock.json

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

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,19 @@
"prepublishOnly": "npm run test"
},
"devDependencies": {
"@types/node": "20.12.5",
"@babel/core": "7.24.4",
"@babel/preset-env": "7.24.4",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "25.0.7",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-terser": "0.4.4",
"@types/node": "20.12.5",
"c8": "9.1.0",
"core-js": "3.37.1",
"date-format": "4.0.14",
"fs-extra": "11.2.0",
"find-process": "1.4.7",
"fs-extra": "11.2.0",
"mocha": "10.4.0",
"rollup": "4.14.0",
"typescript": "5.4.4"
Expand Down
1 change: 1 addition & 0 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const commonPlugin = [
babel({
extensions: [".js", ".ts"],
babelHelpers: "bundled",
presets: ['@babel/env']
}),
];
const commonOutput = {
Expand Down

0 comments on commit f01d519

Please sign in to comment.