Skip to content

Commit b9a0e46

Browse files
yiliang114haoqunjiang
authored andcommitted
chore(cli-service): word spelling in comments (#4367)
(cherry picked from commit a2856a7)
1 parent 0ad84d0 commit b9a0e46

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/@vue/cli-service/lib/commands/serve.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ module.exports = (api, options) => {
5151
validateWebpackConfig(webpackConfig, api, options)
5252

5353
// load user devServer options with higher priority than devServer
54-
// in webpck config
54+
// in webpack config
5555
const projectDevServerOptions = Object.assign(
5656
webpackConfig.devServer || {},
5757
options.devServer
@@ -105,7 +105,7 @@ module.exports = (api, options) => {
105105
// explicitly configured via devServer.public
106106
? `?${publicUrl}/sockjs-node`
107107
: isInContainer
108-
// can't infer public netowrk url if inside a container...
108+
// can't infer public network url if inside a container...
109109
// use client-side inference (note this would break with non-root publicPath)
110110
? ``
111111
// otherwise infer the url

packages/@vue/cli/lib/GeneratorAPI.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ function renderFile (name, data, ejsOptions) {
409409
)
410410

411411
// use ejs.render to test the conditional expression
412-
// if evaluated to falsy vaule, return early to avoid extra cost for extend expression
412+
// if evaluated to falsy value, return early to avoid extra cost for extend expression
413413
const result = ejs.render(finalTemplate, data, ejsOptions)
414414
if (!result) {
415415
return

0 commit comments

Comments
 (0)