Skip to content

Commit 6708063

Browse files
committed
fix: fix customHtmlOptions overriding
1 parent 5786e27 commit 6708063

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -215,13 +215,13 @@ module.exports = (api, options) => {
215215
// inject html plugin for the page
216216
const pageHtmlOptions = Object.assign(
217217
{},
218-
customHtmlOptions,
219218
htmlOptions,
220219
{
221220
chunks,
222221
template: templatePath,
223222
filename: ensureRelative(outputDir, filename)
224-
}
223+
},
224+
customHtmlOptions
225225
)
226226

227227
webpackConfig

0 commit comments

Comments
 (0)