From 7e9cf13aa356f991f48ba0a943bdab9b4d3c9233 Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Tue, 31 Jan 2017 23:29:21 +0900 Subject: Use Client APIs to resolve URLs (#5148) --- webapp/webpack.config.js | 1 + 1 file changed, 1 insertion(+) (limited to 'webapp/webpack.config.js') 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( -- cgit v1.2.3-1-g7c22