Skip to content

Commit 585d122

Browse files
Fully working babel compilation PoC
1 parent 533af5c commit 585d122

File tree

12 files changed

+1953
-101
lines changed

12 files changed

+1953
-101
lines changed

.babelrc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"sourceMaps": true,
3+
"presets": [
4+
"@babel/preset-typescript",
5+
[ "@babel/preset-env", {
6+
"targets": {
7+
"node": "13"
8+
},
9+
"modules": "commonjs"
10+
} ]
11+
],
12+
"plugins": [
13+
"@babel/plugin-proposal-class-properties",
14+
[ "babel-plugin-module-resolver", {
15+
"root": [ "./src" ],
16+
"alias": {
17+
"@server": "./dist"
18+
}
19+
} ]
20+
]
21+
}

0 commit comments

Comments
 (0)