Skip to content

Commit 6ce6123

Browse files
committedOct 29, 2017
Add babel config
1 parent a0fcbe2 commit 6ce6123

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
 

‎babel/.babelrc

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"presets": [
3+
"env",
4+
"typescript"
5+
],
6+
"plugins": [
7+
"transform-typescript"
8+
]
9+
}

‎webpack/webpack-with-babel.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
const path = require('path');
2+
const webpack = require("webpack");
23

34
const DEBUG = process.env.NODE_ENV !== 'production';
45

0 commit comments

Comments
 (0)
Please sign in to comment.