Skip to content

Commit 98d5e02

Browse files
committed
Fixing build
1 parent 5217080 commit 98d5e02

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/CrystalQuartz.Application.Client2/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports = (env) => {
4646
filename: 'application.css',
4747
chunkFilename: '[id].css',
4848
}),
49-
new BundleAnalyzerPlugin(),
49+
...(env?.mode === 'development' ? [new BundleAnalyzerPlugin()] : []),
5050
...envSpecificPlugins,
5151
],
5252
module: {

src/CrystalQuartz.Build/MainWorkflow.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@ from data in initTask
232232
},
233233
package => "Push" + package.NameWithoutExtension),
234234

235-
Default(),
236235
DependsOn(buildPackages));
237236
}
238237
}

src/CrystalQuartz.Build/Tasks/CompileClientAssets.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ protected override void RegisterTasks()
4040

4141
Task(
4242
"clientDemoBuild",
43-
c => c.CreateNpmTask(_solution.CrystalQuartz_Application_Client2, "run build-demo -- --env.v=" + _version));
43+
c => c.CreateNpmTask(_solution.CrystalQuartz_Application_Client2, "run build-demo -- --env v=" + _version));
4444
}
4545
}
4646
}

0 commit comments

Comments
 (0)