source: trip-planner-front/node_modules/@angular-devkit/build-angular/src/utils/run-module-worker.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 591 bytes
RevLine 
[6a3a178]1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8process.on('message', (message) => {
9 // Only process messages with the hash in 'run-module-as-observable-fork.ts'.
10 if (message.hash === '5d4b9a5c0a4e0f9977598437b0e85bcc') {
11 const requiredModule = require(message.modulePath);
12 if (message.exportName) {
13 requiredModule[message.exportName](...message.args);
14 } else {
15 requiredModule(...message.args);
16 }
17 }
18});
Note: See TracBrowser for help on using the repository browser.