forked from maastrichtlawtech/case-explorer-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbabel.config.js
37 lines (37 loc) · 876 Bytes
/
babel.config.js
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
26
27
28
29
30
31
32
33
34
35
36
37
module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
"plugins": [
[
"module-resolver",
{
"extensions": [
".js",
".jsx",
".es",
".es6",
".mjs",
".ts",
".tsx",
],
"alias": {
'@material-ui/core': '@mui/material',
'@material-ui/icons': '@mui/icons-material',
'@material-ui/styles': '@mui/styles',
}
}
],
[
"@babel/plugin-proposal-decorators",
{
"legacy": true
}
],
"@babel/plugin-proposal-nullish-coalescing-operator",
"@babel/plugin-proposal-optional-chaining",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread"
]
};
};