2022-05-03 04:19:12 +02:00
|
|
|
module.exports = {
|
2022-05-03 10:53:01 +02:00
|
|
|
presets: [
|
|
|
|
["@babel/preset-env", {bugfixes: true}],
|
2022-05-06 21:41:13 +02:00
|
|
|
"babel-preset-typescript-vue", // TODO: last updated 2020-05-18, probably seek replacement after vue 3.x
|
|
|
|
// "@babel/typescript", // ? babel-preset-typescript-vue should be a drop-in replacement for @babel/typescript with vue support
|
2022-05-04 06:09:46 +02:00
|
|
|
// "@vue/babel-preset-jsx",
|
2022-05-03 10:53:01 +02:00
|
|
|
],
|
2022-05-03 08:16:34 +02:00
|
|
|
targets: "> 0.25%, not dead",
|
2022-05-03 10:53:01 +02:00
|
|
|
// plugins: [["@babel/transform-typescript", {allowNamespaces: true}]],
|
2022-05-03 04:19:12 +02:00
|
|
|
};
|