mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-30 23:06:10 +03:00
Show progress.
This commit is contained in:
parent
212291f550
commit
987e74711e
@ -108,6 +108,15 @@ function webpackOptions(production, routes, { debug, manifestConfig }) {
|
||||
entry: { hello: "./index.js" },
|
||||
mode: production ? "production" : "development",
|
||||
plugins: [
|
||||
new webpack.ProgressPlugin({
|
||||
entries: true,
|
||||
modules: true,
|
||||
modulesCount: 100,
|
||||
profile: true,
|
||||
handler: (percentage, message, ...args) => {
|
||||
printProgress(`${Math.floor(percentage * 100)}%`, message);
|
||||
}
|
||||
}),
|
||||
new AddFilesPlugin(),
|
||||
new CopyPlugin([
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user