forked from infernojs/inferno
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.babelrc
29 lines (29 loc) · 1.04 KB
/
.babelrc
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
{
"compact": false,
"presets": [
["es2015", {"loose": true}],
"stage-2"
],
"plugins": [
"transform-class-properties",
"transform-object-rest-spread",
"babel-plugin-syntax-jsx",
["babel-plugin-inferno", {"imports": true}],
["module-resolver", {
"extensions": [".js", ".jsx"],
"alias": {
"inferno-compat": "./packages/inferno-compat",
"inferno-component": "./packages/inferno-component/dist-es",
"inferno-create-class": "./packages/inferno-create-class/dist-es",
"inferno-create-element": "./packages/inferno-create-element/dist-es",
"inferno-shared": "./packages/inferno-shared/dist-es",
"inferno-hyperscript": "./packages/inferno-hyperscript/dist-es",
"inferno-mobx": "./packages/inferno-mobx/dist-es",
"inferno-redux": "./packages/inferno-redux/dist-es",
"inferno-router": "./packages/inferno-router/dist-es",
"inferno-server": "./packages/inferno-server/dist-es",
"inferno": "./packages/inferno/dist-es"
}
}]
]
}