20 lines
328 B
JavaScript
20 lines
328 B
JavaScript
module.exports = {
|
|
presets: [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
targets: {
|
|
node: "current",
|
|
},
|
|
},
|
|
],
|
|
[
|
|
"@babel/preset-react",
|
|
{
|
|
runtime: "automatic",
|
|
},
|
|
],
|
|
"@babel/preset-typescript",
|
|
],
|
|
plugins: ["babel-plugin-transform-vite-meta-env"],
|
|
};
|