Skip to content

Commit 9e9e1f2

Browse files
committed
Add initial babel config
1 parent c441de8 commit 9e9e1f2

File tree

4 files changed

+3358
-1
lines changed

4 files changed

+3358
-1
lines changed

babel.config.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = function(api) {
2+
api.cache(true);
3+
4+
const presets = [
5+
[
6+
"@babel/preset-react",
7+
{
8+
pragma: "createElement",
9+
pragmaFrag: "Fragment"
10+
}
11+
]
12+
];
13+
14+
const plugins = [];
15+
16+
return {
17+
presets,
18+
plugins
19+
};
20+
};

0 commit comments

Comments
 (0)