Skip to content

Commit

Permalink
Remove babel from toolchain.
Browse files Browse the repository at this point in the history
  • Loading branch information
OtherCroissant committed Jul 26, 2024
1 parent 55ebcd3 commit a0dd0f9
Show file tree
Hide file tree
Showing 5 changed files with 279 additions and 1,371 deletions.
9 changes: 6 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"parser": "babel-eslint",
"extends": "eslint:recommended",
"rules": {
"array-bracket-spacing": ["error", "always"],
Expand Down Expand Up @@ -42,6 +41,10 @@
"env": {
"browser": true,
"node": true,
"es6": true
}
"es2022": true
},
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2022
},
}
14 changes: 0 additions & 14 deletions babel.config.json

This file was deleted.

6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,12 @@
},
"homepage": "https://trix-editor.org/",
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.4",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@web/dev-server": "^0.1.34",
"babel-eslint": "^10.1.0",
"concurrently": "^7.4.0",
"eslint": "^7.32.0",
"eslint": "8.57.0",
"esm": "^3.2.25",
"karma": "6.4.1",
"karma-chrome-launcher": "3.2.0",
Expand Down
2 changes: 0 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import json from "@rollup/plugin-json"
import includePaths from "rollup-plugin-includepaths"
import commonjs from "@rollup/plugin-commonjs"
import { babel } from "@rollup/plugin-babel"
import nodeResolve from "@rollup/plugin-node-resolve"
import { terser } from "rollup-plugin-terser"

Expand All @@ -20,7 +19,6 @@ const plugins = [
commonjs({
extensions: [ ".js" ]
}),
babel({ babelHelpers: "bundled" }),
]

const defaultConfig = {
Expand Down
Loading

0 comments on commit a0dd0f9

Please sign in to comment.