From 927d22ad4c27a33c64fde1e232a3a9969de4b469 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Thu, 4 May 2017 12:44:30 -0400 Subject: [PATCH] webpack config --- webpack.config.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 webpack.config.js diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 0000000..ee77ba6 --- /dev/null +++ b/webpack.config.js @@ -0,0 +1,19 @@ +module.exports = { + entry: './js/index.js', + output: { + filename: 'dist/bundle.js' + }, + module: { + rules: [ + { + test: /\.(js|jsx)$/, + use: { + loader: 'babel-loader', + options: { + presets: ["es2015", "react"] + } + } + } + ] + } +};