1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Enable progress bar

Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
This commit is contained in:
Hung-Han (Henry) Chen 2020-12-04 17:35:50 +08:00
parent b99c3f7df8
commit c7cf786380
No known key found for this signature in database
GPG Key ID: A28B7834EFA73792
3 changed files with 4 additions and 0 deletions

View File

@ -111,6 +111,7 @@ export default function (): webpack.Configuration {
}
},
plugins: [
new webpack.ProgressPlugin({ percentBy: "entries" }),
// In ts-loader's README they said to output a built .d.ts file,
// you can set "declaration": true in tsconfig.extensions.json,
// and use the DeclarationBundlerPlugin in your webpack config... but

View File

@ -48,6 +48,7 @@ export default function (): webpack.Configuration {
},
plugins: [
new ForkTsCheckerPlugin(),
new webpack.ProgressPlugin({ percentBy: "entries" }),
]
};
}

View File

@ -166,6 +166,8 @@ export function webpackLensRenderer({ showVars = true } = {}): webpack.Configura
filename: "[name].css",
}),
new webpack.ProgressPlugin({ percentBy: "entries" }),
isDevelopment && new webpack.HotModuleReplacementPlugin(),
isDevelopment && new ReactRefreshWebpackPlugin(),