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 committed 2021-01-07 11:21:47 +08:00
1 parent b99c3f7df8
commit c7cf786380
3 files changed
+4

No files matched your search

+1
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
+1
View File
@@ -48,6 +48,7 @@ export default function (): webpack.Configuration {
},
plugins: [
new ForkTsCheckerPlugin(),
new webpack.ProgressPlugin({ percentBy: "entries" }),
]
};
}
+2
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(),