Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita0dd0f9

Browse files
Remove babel from toolchain.
1 parent55ebcd3 commita0dd0f9

File tree

5 files changed

+279
-1371
lines changed

5 files changed

+279
-1371
lines changed

‎.eslintrc‎

Lines changed: 6 additions & 3 deletions
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‎

Lines changed: 0 additions & 14 deletions
This file was deleted.

‎package.json‎

Lines changed: 1 addition & 5 deletions
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‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
importjsonfrom"@rollup/plugin-json"
22
importincludePathsfrom"rollup-plugin-includepaths"
33
importcommonjsfrom"@rollup/plugin-commonjs"
4-
import{babel}from"@rollup/plugin-babel"
54
importnodeResolvefrom"@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
constdefaultConfig={

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp