Revert "refactor: handle breaking changes in rules_nodejs 1.0.0 (#34589)" (#34730)

This reverts commit 9bb349e1c8.

PR Close #34730
This commit is contained in:
atscott
2020-01-10 13:40:02 -08:00
parent 0e01d5c5de
commit 4955c256d2
69 changed files with 131 additions and 318 deletions

View File

@ -6,15 +6,6 @@
* found in the LICENSE file at https://angular.io/license
*/
if (process.env['TEST_SRCDIR']) {
// bootstrap the bazel require resolve patch since this
// script is a bootstrap script loaded with --node_options=--require=...
const path = require('path');
require(path.posix.join(
process.env['TEST_SRCDIR'], process.env['TEST_WORKSPACE'],
(process.env['TEST_BINARY'] as string).replace(/\.(sh|bat)$/, '_loader.js'), ));
}
import 'zone.js/lib/node/rollup-main';
import 'zone.js/lib/zone-spec/long-stack-trace';
import 'zone.js/lib/zone-spec/task-tracking';