From a4ed62da476682083b8a6c30ef768e9619e5b345 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Tue, 8 Dec 2015 17:17:57 +0200 Subject: React+babel is working --- webpack.config.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'webpack.config.js') diff --git a/webpack.config.js b/webpack.config.js index 2ccc988..945d633 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,12 +1,13 @@ module.exports = { - entry: "./index.js", + entry: './index.js', output: { path: __dirname, - filename: "bundle.js" + filename: 'bundle.js' }, module: { loaders: [ - { test: /\.css$/, loader: "style!css" } + { test: /\.js$/, loader: 'babel' }, + { test: /\.css$/, loader: 'style!css' } ] } }; \ No newline at end of file -- cgit v1.3.1