From 85133c0488fdedb8616ffca73b7118ea5177f9e0 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Fri, 1 Jan 2016 00:08:20 +0200 Subject: Initial react and webpack flow --- webpack.config.js | 12 ++++++++++++ 1 file changed, 12 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..54aaf75 --- /dev/null +++ b/webpack.config.js @@ -0,0 +1,12 @@ +module.exports = { + entry: './geshem.js', + output: { + path: __dirname, + filename: 'static/js/bundle.js', + }, + module: { + loaders: [ + { test: /\.js$/, exclude: /node_modules/, loader: 'babel?presets[]=react,presets[]=es2015' } + ] + } +} \ No newline at end of file -- cgit v1.3.1