a bit spammy
This commit is contained in:
parent
fe49539a2b
commit
ef49a06be5
|
@ -35,7 +35,6 @@ export default class SSSG {
|
||||||
}
|
}
|
||||||
|
|
||||||
async build() {
|
async build() {
|
||||||
console.log("build triggered")
|
|
||||||
for(const plugin of this.plugins) {
|
for(const plugin of this.plugins) {
|
||||||
if(plugin.build) {
|
if(plugin.build) {
|
||||||
plugin.build();
|
plugin.build();
|
||||||
|
@ -66,7 +65,7 @@ export default class SSSG {
|
||||||
const availablePlugins = this.plugins.filter((z) =>
|
const availablePlugins = this.plugins.filter((z) =>
|
||||||
z.rewriteTriggers.includes(type)
|
z.rewriteTriggers.includes(type)
|
||||||
);
|
);
|
||||||
console.log(availablePlugins)
|
|
||||||
|
|
||||||
if (availablePlugins.length == 0) {
|
if (availablePlugins.length == 0) {
|
||||||
const oldPath = path.join(file.parentPath, file.name);
|
const oldPath = path.join(file.parentPath, file.name);
|
||||||
|
|
Loading…
Reference in a new issue