/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * strict-local * @format */ "use strict"; exports.empty = () => virtual("", "/<generated>/empty.js"); // creates a virtual module (i.e. not corresponding to a file on disk) // with the given source code. const virtual = (code, filePath) => ({ dependencies: [], file: { code, map: null, path: filePath, type: "script", libraryIdx: null } }); exports.virtual = virtual;