forked from codesandbox/codesandbox-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbabel.config.js
More file actions
25 lines (25 loc) · 738 Bytes
/
babel.config.js
File metadata and controls
25 lines (25 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
module.exports = {
env: {
test: {
presets: [
'@babel/preset-env',
'@babel/preset-flow',
'@babel/preset-react',
'@babel/preset-typescript',
],
plugins: [
'@babel/plugin-transform-destructuring',
'@babel/plugin-transform-async-to-generator',
'@babel/plugin-proposal-object-rest-spread',
'@babel/plugin-proposal-class-properties',
'@babel/plugin-transform-runtime',
'@babel/plugin-syntax-dynamic-import',
'babel-plugin-lodash',
'babel-plugin-system-import-transformer',
'babel-plugin-macros',
'babel-plugin-styled-components',
'@babel/plugin-transform-react-display-name',
],
},
},
};