mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
style: run prettier on webpack5 files
This commit is contained in:
@@ -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,
|
||||
}
|
||||
},
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user