diff options
| author | Jules Laplace <jules@okfoc.us> | 2017-04-22 00:43:57 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2017-04-22 00:43:57 -0400 |
| commit | a6581c55ba134b3c9547968315c8915ae52fe016 (patch) | |
| tree | 2accb1cd88357446e06fbc77634a4bc7b43c3e72 /webpack.config.js | |
microtonal sampler
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'] + } + } + } + ] + }, +} |
