diff options
Diffstat (limited to 'webapp/webpack.config.js')
-rw-r--r-- | webapp/webpack.config.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/webpack.config.js b/webapp/webpack.config.js index 32c5a322a..40b16139b 100644 --- a/webapp/webpack.config.js +++ b/webapp/webpack.config.js @@ -23,7 +23,7 @@ if (NPM_TARGET === 'test') { } var config = { - entry: ['babel-polyfill', './root.jsx', 'root.html'], + entry: ['babel-polyfill', 'whatwg-fetch', './root.jsx', 'root.html'], output: { path: 'dist', publicPath: '/static/', @@ -33,7 +33,7 @@ var config = { module: { loaders: [ { - test: /\.jsx?$/, + test: /\.(js|jsx)?$/, loader: 'babel-loader', exclude: /(node_modules|non_npm_dependencies)/, query: { |