webpack: Remove resolve.modules override.

The minimal syntactic sugar it might provide isn’t worth the
unexpected side effects (including side effects on third party
modules).

For now, we allow zrequire to emulate the previous syntax in the Node
test suite, even though stealing part of the NPM namespace is
confusing.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg
2019-06-20 16:59:21 -07:00
committed by Tim Abbott
parent 7e6bcbeac0
commit 1b94733953
6 changed files with 223 additions and 226 deletions

View File

@@ -107,7 +107,6 @@ from tools.lib.test_script import assert_provisioning_status_ok
assert_provisioning_status_ok(options.force)
os.environ['NODE_PATH'] = 'static'
os.environ['TZ'] = 'UTC'
INDEX_JS = 'frontend_tests/zjsunit/index.js'