diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-03-06 13:28:12 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-03-06 13:28:12 +0100 |
| commit | 25fec83f6f7db468721a38adb2c84a0c0a2121f1 (patch) | |
| tree | 5ea8b40951e98639b88b0378618a9ca2f835de7a /webpack.config.js | |
displaying waveform and spectrogram
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'] + } + } + } + ] + }, +} |
