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:
parent
b99c3f7df8
commit
c7cf786380
@ -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
|
||||
|
||||
@ -48,6 +48,7 @@ export default function (): webpack.Configuration {
|
||||
},
|
||||
plugins: [
|
||||
new ForkTsCheckerPlugin(),
|
||||
new webpack.ProgressPlugin({ percentBy: "entries" }),
|
||||
]
|
||||
};
|
||||
}
|
||||
|
||||
@ -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(),
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user