summaryrefslogtreecommitdiffstats
path: root/webapp/webpack.config.js
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-04-25 11:46:02 -0400
committerChristopher Speller <crspeller@gmail.com>2017-04-25 11:46:02 -0400
commit6c4c706313eb765eb00c639f381646be74f27b69 (patch)
tree6068feaa9668dcd74601730ac1a5abfb366402b1 /webapp/webpack.config.js
parentcc07c005074348de87854f1c953a549e8772fa03 (diff)
downloadchat-6c4c706313eb765eb00c639f381646be74f27b69.tar.gz
chat-6c4c706313eb765eb00c639f381646be74f27b69.tar.bz2
chat-6c4c706313eb765eb00c639f381646be74f27b69.zip
Start moving webapp to Redux (#6140)
* Start moving webapp to Redux * Fix localforage import * Updates per feedback * Feedback udpates and a few fixes * Minor updates * Fix statuses, config not loading properly, getMe sanitizing too much * Fix preferences * Fix user autocomplete * Fix sessions and audits * Fix error handling for all redux actions * Use new directory structure for components and containers * Refresh immediately on logout instead of after timeout * Add fetch polyfill
Diffstat (limited to 'webapp/webpack.config.js')
-rw-r--r--webapp/webpack.config.js4
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: {