Use Client APIs to resolve URLs (#5148)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
67739cb516
Коммит
7e9cf13aa3
@@ -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(
|
||||
|
||||
Ссылка в новой задаче
Block a user