element-call-Github/babel.config.cjs

21 lines
328 B
JavaScript
Raw Permalink Normal View History

module.exports = {
presets: [
[
"@babel/preset-env",
{
targets: {
node: "current",
},
},
],
2023-07-01 06:45:32 +08:00
[
"@babel/preset-react",
{
runtime: "automatic",
},
],
"@babel/preset-typescript",
],
plugins: ["babel-plugin-transform-vite-meta-env"],
};