shrub/pkg/interface/babel.config.js

11 lines
322 B
JavaScript
Raw Normal View History

2021-05-25 05:33:42 +03:00
module.exports = {
presets: ['@babel/preset-env', '@babel/typescript', '@babel/preset-react'],
plugins: [
'@babel/transform-runtime',
'@babel/plugin-proposal-object-rest-spread',
'@babel/plugin-proposal-optional-chaining',
'@babel/plugin-proposal-class-properties',
'react-hot-loader/babel'
]
};