„task/smartjs.js“ ändern

Fixed not using correct output path
This commit is contained in:
Maurice Grönwoldt 2021-03-10 13:38:12 +01:00
parent 3bf4e1ec0a
commit 385d30d6ce

View file

@ -20,6 +20,7 @@ class JSWorker {
this.watch = this.helper.replaceVariables(this.config.watch || '$/**/*.js');
this.prepareFiles(this.config.files)
this.path = path.parse(this.out);
this.path = this.path.dir + "/" + this.path.base + "/";
gulp.task(this.taskName, this.work.bind(this));
}