Initial Commit ES6 barebone

This commit is contained in:
Indrajith K L
2017-11-02 13:31:13 +05:30
commit 70a7e6c3c2
13 changed files with 184 additions and 0 deletions

19
webpack.config.js Normal file
View File

@@ -0,0 +1,19 @@
module.exports = {
entry: __dirname + '/src/index.js',
output: {
path: __dirname + '/dist',
publicPath: '/dist/',
filename: 'bundle.js'
},
module: {
rules: [{
test: /\.js$/,
exclude: /node_modules/,
use: 'babel-loader'
}]
},
devServer: {
contentBase: [ './' ],
watchContentBase: true
}
};