mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Only enable minimize in production
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
This commit is contained in:
1 file changed
+3
@@ -34,6 +34,9 @@ export default function (): webpack.Configuration {
|
|||||||
externalsPresets: { node: true },
|
externalsPresets: { node: true },
|
||||||
// in order to ignore all modules in node_modules folder
|
// in order to ignore all modules in node_modules folder
|
||||||
externals: nodeExternals(),
|
externals: nodeExternals(),
|
||||||
|
optimization: {
|
||||||
|
minimize: isProduction,
|
||||||
|
},
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user