2 /* --------------------------------------------------------------------------------------------
3 * Copyright (c) Microsoft Corporation. All rights reserved.
4 * Licensed under the MIT License. See License.txt in the project root for license information.
5 * ------------------------------------------------------------------------------------------ */
6 process.on('message', (message) => {
7 if (message.command === 'exit') {
10 else if (message.command === 'resolve') {
12 let result = require.resolve(message.args);
13 process.send({ command: 'resolve', success: true, result: result });
16 process.send({ command: 'resolve', success: false });
20 //# sourceMappingURL=resolve.js.map