diff options
| author | Jules Laplace <jules@okfoc.us> | 2017-04-23 22:17:43 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2017-04-23 22:17:43 -0400 |
| commit | ed62a07b37e666d1a5e972847460dee7f90b3987 (patch) | |
| tree | 0ea651522ba3d46f58585b3847c175b8221b7e91 /webpack.config.js | |
triangle interval map
Diffstat (limited to 'webpack.config.js')
| -rw-r--r-- | webpack.config.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 0000000..3b2bf92 --- /dev/null +++ b/webpack.config.js @@ -0,0 +1,24 @@ +var webpack = require('webpack'); + +module.exports = { + entry: './client/index.js', + watch: true, + devtool: 'cheap-source-map', + output: { + filename: './bundle.js' + }, + module: { + rules: [ + { + test: /\.jsx?$/, + exclude: /(node_modules|bower_components)/, + use: { + loader: 'babel-loader', + options: { + presets: ['env'] + } + } + } + ] + }, +} |
