mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Use stats: minimal
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
This commit is contained in:
parent
4e02f943f3
commit
a7a7675a3b
@ -133,8 +133,7 @@ export default function (): webpack.Configuration {
|
||||
// out: 'extension-api.d.ts',
|
||||
// })
|
||||
],
|
||||
// we probably don't need warnings as
|
||||
// the output is only used for extension development/testing
|
||||
stats: "errors-only"
|
||||
// only output when errors or new compilation happen
|
||||
stats: "minimal"
|
||||
};
|
||||
}
|
||||
|
||||
@ -68,6 +68,8 @@ export default function (): webpack.Configuration {
|
||||
plugins: [
|
||||
new ForkTsCheckerPlugin(),
|
||||
new webpack.ProgressPlugin({ percentBy: "entries" }),
|
||||
]
|
||||
],
|
||||
// only output when errors or new compilation happen
|
||||
stats: "minimal"
|
||||
};
|
||||
}
|
||||
|
||||
@ -188,5 +188,7 @@ export function webpackLensRenderer({ showVars = true } = {}): webpack.Configura
|
||||
isDevelopment && new ReactRefreshWebpackPlugin(),
|
||||
|
||||
].filter(Boolean),
|
||||
// only output when errors or new compilation happen
|
||||
stats: "minimal"
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user