Skip to content

Commit a0dd0f9

Browse files
Remove babel from toolchain.
1 parent 55ebcd3 commit a0dd0f9

File tree

5 files changed

+279
-1371
lines changed

5 files changed

+279
-1371
lines changed

.eslintrc

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"parser": "babel-eslint",
32
"extends": "eslint:recommended",
43
"rules": {
54
"array-bracket-spacing": ["error", "always"],
@@ -42,6 +41,10 @@
4241
"env": {
4342
"browser": true,
4443
"node": true,
45-
"es6": true
46-
}
44+
"es2022": true
45+
},
46+
"parserOptions": {
47+
"sourceType": "module",
48+
"ecmaVersion": 2022
49+
},
4750
}

babel.config.json

-14
This file was deleted.

package.json

+1-5
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,12 @@
2727
},
2828
"homepage": "https://trix-editor.org/",
2929
"devDependencies": {
30-
"@babel/core": "^7.16.0",
31-
"@babel/preset-env": "^7.16.4",
32-
"@rollup/plugin-babel": "^5.3.0",
3330
"@rollup/plugin-commonjs": "^22.0.2",
3431
"@rollup/plugin-json": "^4.1.0",
3532
"@rollup/plugin-node-resolve": "^13.3.0",
3633
"@web/dev-server": "^0.1.34",
37-
"babel-eslint": "^10.1.0",
3834
"concurrently": "^7.4.0",
39-
"eslint": "^7.32.0",
35+
"eslint": "8.57.0",
4036
"esm": "^3.2.25",
4137
"karma": "6.4.1",
4238
"karma-chrome-launcher": "3.2.0",

rollup.config.js

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import json from "@rollup/plugin-json"
22
import includePaths from "rollup-plugin-includepaths"
33
import commonjs from "@rollup/plugin-commonjs"
4-
import { babel } from "@rollup/plugin-babel"
54
import nodeResolve from "@rollup/plugin-node-resolve"
65
import { terser } from "rollup-plugin-terser"
76

@@ -20,7 +19,6 @@ const plugins = [
2019
commonjs({
2120
extensions: [ ".js" ]
2221
}),
23-
babel({ babelHelpers: "bundled" }),
2422
]
2523

2624
const defaultConfig = {

0 commit comments

Comments
 (0)