simple-translate/babel.config.js

15 lines
400 B
JavaScript
Raw Permalink Normal View History

2020-05-01 16:00:51 +00:00
module.exports = {
presets: [
[
"@babel/preset-env",
{
targets: {
firefox: 57
}
}
],
"@babel/preset-react"
],
2022-03-05 08:49:30 +00:00
plugins: ["@babel/plugin-proposal-nullish-coalescing-operator", "@babel/plugin-proposal-optional-chaining", "@babel/plugin-syntax-optional-chaining", "@babel/plugin-proposal-object-rest-spread", "transform-class-properties"]
2020-05-01 16:00:51 +00:00
};