Use Client APIs to resolve URLs (#5148)

Этот коммит содержится в:
Akihiko Odaki
2017-01-31 23:29:21 +09:00
коммит произвёл Harrison Healey
родитель 67739cb516
Коммит 7e9cf13aa3
4 изменённых файлов: 11 добавлений и 3 удалений

Просмотреть файл

@@ -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(