From 70a7e6c3c2019346ea8ad5c52feb464efa0531e5 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Thu, 2 Nov 2017 13:31:13 +0530 Subject: Initial Commit ES6 barebone --- webpack.config.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 webpack.config.js (limited to 'webpack.config.js') diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 0000000..a251411 --- /dev/null +++ b/webpack.config.js @@ -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 + } +}; -- cgit v1.2.3