summaryrefslogtreecommitdiffstats
path: root/webapp/webpack.config.js
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>2017-01-31 23:29:21 +0900
committerHarrison Healey <harrisonmhealey@gmail.com>2017-01-31 09:29:21 -0500
commit7e9cf13aa356f991f48ba0a943bdab9b4d3c9233 (patch)
tree11e64fd6b7755ce85e7d2ebcc8adeb8b3f8f331d /webapp/webpack.config.js
parent67739cb516309e06a7cb08cc5807140ac9af9b13 (diff)
downloadchat-7e9cf13aa356f991f48ba0a943bdab9b4d3c9233.tar.gz
chat-7e9cf13aa356f991f48ba0a943bdab9b4d3c9233.tar.bz2
chat-7e9cf13aa356f991f48ba0a943bdab9b4d3c9233.zip
Use Client APIs to resolve URLs (#5148)
Diffstat (limited to 'webapp/webpack.config.js')
-rw-r--r--webapp/webpack.config.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/webapp/webpack.config.js b/webapp/webpack.config.js
index f1742e3ae..ecd2230c4 100644
--- a/webapp/webpack.config.js
+++ b/webapp/webpack.config.js
@@ -159,6 +159,7 @@ if (TEST) {
config.entry = ['babel-polyfill', './root.jsx'];
config.target = 'node';
config.externals = [nodeExternals()];
+ config.resolve.alias['./client/web_client.jsx'] = path.resolve(__dirname, 'client/test_web_client.jsx');
} else {
// For some reason these break mocha. So they go here.
config.plugins.push(