diff options
| author | Yuval Adam <yuval@y3xz.com> | 2015-12-08 17:17:57 +0200 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2015-12-08 17:17:57 +0200 |
| commit | a4ed62da476682083b8a6c30ef768e9619e5b345 (patch) | |
| tree | 6a2a2b792c506f59302309a856e051a61c8c7c7e /webpack.config.js | |
| parent | c52b19823b2575130b3ef1e133f494b176fa1500 (diff) | |
React+babel is working
Diffstat (limited to 'webpack.config.js')
| -rw-r--r-- | webpack.config.js | 7 |
1 files changed, 4 insertions, 3 deletions
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 |
