BREAKING CHANGE(core): update

This commit is contained in:
2022-06-09 19:59:21 +02:00
parent a7c6f4343d
commit 8c0efd532f
14 changed files with 10742 additions and 960 deletions

View File

@@ -1,6 +1,6 @@
// this file contains the implementation of the standard gulp api
import * as plugins from './smartgulp.plugins';
import { GulpStream } from './smartgulp.classes.gulpstream';
import * as plugins from './smartgulp.plugins.js';
import { GulpStream } from './smartgulp.classes.gulpstream.js';
import { Transform } from 'stream';
import { Smartfile } from '@pushrocks/smartfile';
@@ -18,7 +18,7 @@ export let src = (minimatchPathArrayArg: string[]): Transform => {
}
gulpStream.pipeSmartfileArray(smartfileArray);
};
handleFiles().catch(err => {
handleFiles().catch((err) => {
console.log(err);
});
return gulpStream.stream;
@@ -32,7 +32,7 @@ export let replace = () => {
await file.write();
cb(null, file);
},
cb => {
(cb) => {
cb();
}
);