UNPKG

@areslabs/alita-core

Version:

alita-core

26 lines (22 loc) 601 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = _default; var _baseMisc = _interopRequireDefault(require("./baseMisc")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /** * Copyright (c) Areslabs. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ function _default(ast, filepath, webpackContext) { const info = { filepath, webpackContext }; ast = (0, _baseMisc.default)(ast, info); return ast; }