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,5 +1,5 @@
import dedent from 'ts-dedent';
import { env } from "@nativescript/webpack";
import { env } from '@nativescript/webpack';
// de-indents strings so multi-line string literals can be used
function cleanup(data: any[]) {
@ -29,7 +29,7 @@ export function warn(...data: any): void {
}
export function info(...data: any): void {
if(env.verbose) {
if (env.verbose) {
console.log(`[@nativescript/webpack] Info: \n`, ...cleanup(data));
}
}