Skip to content

Commit ab0503b

Browse files
committed
fix: fix test issues for cypress GUI
1 parent c0ca45c commit ab0503b

File tree

1 file changed

+1
-1
lines changed
  • packages/@vue/cli-service/lib/config

1 file changed

+1
-1
lines changed

packages/@vue/cli-service/lib/config/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = (api, options) => {
2424
const outputDir = api.resolve(options.outputDir)
2525

2626
// code splitting
27-
if (isProd) {
27+
if (isProd && !process.env.CYPRESS_ENV) {
2828
webpackConfig
2929
.optimization.splitChunks({
3030
cacheGroups: {

0 commit comments

Comments
 (0)