Just like babel.rc?
Or maybe its contents can be imported into webpack.config.js
?
{
"name": "Foo",
"version": "1.0.0",
"babel": {
"presets": [
"@babel/preset-env"
],
"plugins": [
["@babel/plugin-proposal-decorators"]
},
"tsconfig": { ... },
}
No , there is no official support. However, there is github issue for this feature.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.