shrub/pkg/interface/babel.config.js
2021-05-25 12:33:42 +10:00

11 lines
322 B
JavaScript

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'
]
};