Skip to content

Commit 50a5c01

Browse files
committed
Fix babel build errors
1 parent 9fc21e3 commit 50a5c01

4 files changed

Lines changed: 5 additions & 12 deletions

File tree

config/babel.config.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@
99
}
1010
],
1111
"@babel/preset-typescript"
12-
],
13-
"plugins": ["babel-plugin-transform-async-to-promises"]
12+
]
1413
}

package-lock.json

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,11 @@
3636
"@rollup/plugin-terser": "^0.4.4",
3737
"@rollup/plugin-typescript": "^12.3.0",
3838
"@types/node": "^24.3.0",
39-
"babel-plugin-transform-async-to-promises": "^0.8.18",
4039
"core-js": "^3.44.0",
4140
"regenerator-runtime": "^0.14.1",
4241
"rollup": "^4.53.3",
4342
"termost": "^1.9.0",
4443
"tslib": "^2.8.1",
4544
"typescript": "^5.9.3"
46-
},
47-
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
45+
}
4846
}

src/rollup-config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ export default {
1616
},
1717
plugins: [
1818
typescript(),
19-
nodeResolve(),
19+
nodeResolve({
20+
extensions: [".ts", ".js"],
21+
}),
2022
commonjs(),
2123
json(),
2224
babel({

0 commit comments

Comments
 (0)