1 | "use strict";
|
---|
2 |
|
---|
3 | Object.defineProperty(exports, "__esModule", {
|
---|
4 | value: true
|
---|
5 | });
|
---|
6 | exports.addDefault = addDefault;
|
---|
7 | exports.addNamed = addNamed;
|
---|
8 | exports.addNamespace = addNamespace;
|
---|
9 | exports.addSideEffect = addSideEffect;
|
---|
10 | Object.defineProperty(exports, "ImportInjector", {
|
---|
11 | enumerable: true,
|
---|
12 | get: function () {
|
---|
13 | return _importInjector.default;
|
---|
14 | }
|
---|
15 | });
|
---|
16 | Object.defineProperty(exports, "isModule", {
|
---|
17 | enumerable: true,
|
---|
18 | get: function () {
|
---|
19 | return _isModule.default;
|
---|
20 | }
|
---|
21 | });
|
---|
22 |
|
---|
23 | var _importInjector = require("./import-injector");
|
---|
24 |
|
---|
25 | var _isModule = require("./is-module");
|
---|
26 |
|
---|
27 | function addDefault(path, importedSource, opts) {
|
---|
28 | return new _importInjector.default(path).addDefault(importedSource, opts);
|
---|
29 | }
|
---|
30 |
|
---|
31 | function addNamed(path, name, importedSource, opts) {
|
---|
32 | return new _importInjector.default(path).addNamed(name, importedSource, opts);
|
---|
33 | }
|
---|
34 |
|
---|
35 | function addNamespace(path, importedSource, opts) {
|
---|
36 | return new _importInjector.default(path).addNamespace(importedSource, opts);
|
---|
37 | }
|
---|
38 |
|
---|
39 | function addSideEffect(path, importedSource, opts) {
|
---|
40 | return new _importInjector.default(path).addSideEffect(importedSource, opts);
|
---|
41 | } |
---|