fd22b0bf58
V2 (Laravel re-make)
41 lines
1.1 KiB
JavaScript
Vendored
41 lines
1.1 KiB
JavaScript
Vendored
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
Object.defineProperty(exports, "ImportInjector", {
|
|
enumerable: true,
|
|
get: function () {
|
|
return _importInjector.default;
|
|
}
|
|
});
|
|
exports.addDefault = addDefault;
|
|
exports.addNamed = addNamed;
|
|
exports.addNamespace = addNamespace;
|
|
exports.addSideEffect = addSideEffect;
|
|
Object.defineProperty(exports, "isModule", {
|
|
enumerable: true,
|
|
get: function () {
|
|
return _isModule.default;
|
|
}
|
|
});
|
|
|
|
var _importInjector = require("./import-injector");
|
|
|
|
var _isModule = require("./is-module");
|
|
|
|
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);
|
|
} |