fix(mod_assets): Fix issue with asset directory copy
This commit is contained in:
@ -32,7 +32,9 @@ export class AssetsHandler {
|
||||
|
||||
// lets clean theh target directory
|
||||
plugins.smartfile.fs.ensureEmptyDir(optionsArg.to);
|
||||
|
||||
plugins.smartfile.fs.copySync(optionsArg.from, optionsArg.to);
|
||||
|
||||
plugins.smartfile.fs.copySync(optionsArg.from, optionsArg.to, {
|
||||
replaceTargetDir: true,
|
||||
});
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user