style: run prettier on webpack5 files

This commit is contained in:
Igor Randjelovic
2021-03-29 01:24:23 +02:00
parent c55782bfaf
commit c922e77129
13 changed files with 138 additions and 110 deletions

View File

@@ -1,4 +1,4 @@
import { env } from "../";
import { env } from '../';
const id = 'WatchStatePlugin';
const version = 1;
@@ -26,15 +26,15 @@ export class WatchStatePlugin {
if (env.verbose) {
if (compiler.modifiedFiles) {
Array.from(compiler.modifiedFiles).forEach(file => {
console.log(`MODIFIED: ${file}`)
})
Array.from(compiler.modifiedFiles).forEach((file) => {
console.log(`MODIFIED: ${file}`);
});
}
if (compiler.removedFiles) {
Array.from(compiler.removedFiles).forEach(file => {
console.log(`REMOVED: ${file}`)
})
Array.from(compiler.removedFiles).forEach((file) => {
console.log(`REMOVED: ${file}`);
});
}
}
}
@@ -74,7 +74,7 @@ export class WatchStatePlugin {
data: {
emittedAssets,
staleAssets,
}
},
});
});
}