Skip to content

Commit ec508c7

Browse files
committed
ci: fix index.html moving
1 parent 12e57f7 commit ec508c7

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
@@ -94,7 +94,7 @@ module.exports = (api, options) => {
9494

9595
if (isProd) {
9696
// handle indexPath
97-
if (options.indexPath) {
97+
if (options.indexPath !== 'index.html') {
9898
// why not set filename for html-webpack-plugin?
9999
// 1. It cannot handle absolute paths
100100
// 2. Relative paths causes incorrect SW manifest to be generated (#2007)

0 commit comments

Comments
 (0)