34 lines
1.0 KiB
JavaScript
34 lines
1.0 KiB
JavaScript
"use strict";
|
|
|
|
exports.__esModule = true;
|
|
exports.addDefault = addDefault;
|
|
exports.addNamed = addNamed;
|
|
exports.addNamespace = addNamespace;
|
|
exports.addSideEffect = addSideEffect;
|
|
exports.isModule = void 0;
|
|
|
|
var _importInjector = _interopRequireDefault(require("./import-injector"));
|
|
|
|
exports.ImportInjector = _importInjector.default;
|
|
|
|
var _isModule = _interopRequireDefault(require("./is-module"));
|
|
|
|
exports.isModule = _isModule.default;
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
|
|
function addDefault(path, importedSource, opts) {
|
|
return new _importInjector.default(path).addDefault(importedSource, opts);
|
|
}
|
|
|
|
function addNamed(path, name, importedSource, opts) {
|
|
return new _importInjector.default(path).addNamed(name, importedSource, opts);
|
|
}
|
|
|
|
function addNamespace(path, importedSource, opts) {
|
|
return new _importInjector.default(path).addNamespace(importedSource, opts);
|
|
}
|
|
|
|
function addSideEffect(path, importedSource, opts) {
|
|
return new _importInjector.default(path).addSideEffect(importedSource, opts);
|
|
} |