Skip to content

Commit 7ff7ad4

Browse files
committed
Setup babel and lint and server js
1 parent 373e1fd commit 7ff7ad4

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["react", "es2015", "stage-2"]
3+
}

server.js

Whitespace-only changes.

webpack.config.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
module.exports = {
2+
entry: './src/index.js',
3+
output: {
4+
path: __dirname + '/public',
5+
filename: 'bundle.js'
6+
},
7+
module: {
8+
loaders: [
9+
{
10+
test: /\.js$/,
11+
loader: 'babel-loader'
12+
}
13+
]
14+
}
15+
};

0 commit comments

Comments
 (0)