main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 3 months ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
986 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 |
|
---|
3 | Object.defineProperty(exports, "__esModule", {
|
---|
4 | value: true
|
---|
5 | });
|
---|
6 | exports.default = void 0;
|
---|
7 | var _deepArray = require("./helpers/deep-array.js");
|
---|
8 | class Plugin {
|
---|
9 | constructor(plugin, options, key, externalDependencies = (0, _deepArray.finalize)([])) {
|
---|
10 | this.key = void 0;
|
---|
11 | this.manipulateOptions = void 0;
|
---|
12 | this.post = void 0;
|
---|
13 | this.pre = void 0;
|
---|
14 | this.visitor = void 0;
|
---|
15 | this.parserOverride = void 0;
|
---|
16 | this.generatorOverride = void 0;
|
---|
17 | this.options = void 0;
|
---|
18 | this.externalDependencies = void 0;
|
---|
19 | this.key = plugin.name || key;
|
---|
20 | this.manipulateOptions = plugin.manipulateOptions;
|
---|
21 | this.post = plugin.post;
|
---|
22 | this.pre = plugin.pre;
|
---|
23 | this.visitor = plugin.visitor || {};
|
---|
24 | this.parserOverride = plugin.parserOverride;
|
---|
25 | this.generatorOverride = plugin.generatorOverride;
|
---|
26 | this.options = options;
|
---|
27 | this.externalDependencies = externalDependencies;
|
---|
28 | }
|
---|
29 | }
|
---|
30 | exports.default = Plugin;
|
---|
31 | 0 && 0;
|
---|
32 |
|
---|
33 | //# sourceMappingURL=plugin.js.map
|
---|
Note:
See
TracBrowser
for help on using the repository browser.