Skip to content

Commit b1df828

Browse files
committed
remove no longer needed config
1 parent ba9c4ed commit b1df828

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"jest": "^22.0.4",
4040
"lerna": "^2.5.1",
4141
"lint-staged": "^6.0.0",
42-
"memfs": "^2.6.0"
42+
"memfs": "^2.6.0",
43+
"yorkie": "^1.0.1"
4344
}
4445
}

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

-9
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ module.exports = (api, options) => {
3333
// are running it in a mode with a production env, e.g. in E2E tests.
3434
const isProduction = process.env.NODE_ENV === 'production'
3535

36-
const path = require('path')
3736
const chalk = require('chalk')
3837
const webpack = require('webpack')
3938
const WebpackDevServer = require('webpack-dev-server')
@@ -53,14 +52,6 @@ module.exports = (api, options) => {
5352
return error(err)
5453
}
5554

56-
// transpile webpack-dev-server client since it uses const/let
57-
api.chainWebpack(webpackConfig => {
58-
webpackConfig.module
59-
.rule('js')
60-
.include
61-
.add(path.dirname(require.resolve('webpack-dev-server/client')))
62-
})
63-
6455
const webpackConfig = api.resolveWebpackConfig()
6556

6657
const urls = prepareURLs(

packages/@vue/cli-service/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"webpack-chain": "^4.5.0",
6161
"webpack-dev-server": "^2.10.0",
6262
"webpack-merge": "^4.1.1",
63-
"yorkie": "^1.0.0"
63+
"yorkie": "^1.0.1"
6464
},
6565
"devDependencies": {
6666
"vue": "^2.5.13"

0 commit comments

Comments
 (0)