diff options
| author | Yuval Adam <yuval@y3xz.com> | 2016-01-01 00:08:20 +0200 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2016-01-01 00:08:20 +0200 |
| commit | 85133c0488fdedb8616ffca73b7118ea5177f9e0 (patch) | |
| tree | 8103e82ccee5c8c0dceb95f0c09d7a50d6bd4b47 /webpack.config.js | |
| parent | 9bc622faf49397aac757f3e94f183325bdc1acfe (diff) | |
Initial react and webpack flow
Diffstat (limited to 'webpack.config.js')
| -rw-r--r-- | webpack.config.js | 12 |
1 files changed, 12 insertions, 0 deletions
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 |
