Skip to content

Commit f2ce953

Browse files
committed
recent @vue/cli-service needs a workaround
Cf vuejs/vue-cli#4557 (comment)
1 parent 660fd3e commit f2ce953

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@types/mocha": "^5.2.4",
2929
"@vue/cli-plugin-typescript": "^3.4.1",
3030
"@vue/cli-plugin-unit-mocha": "^3.4.1",
31-
"@vue/cli-service": "^3.4.0",
31+
"@vue/cli-service": "^3.11.0",
3232
"@vue/test-utils": "^1.0.0-beta.20",
3333
"autoprefixer": "^9.5.0",
3434
"chai": "^4.2.0",

app/vue.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
module.exports = {
22
runtimeCompiler: true,
33
publicPath: "/",
4-
// workaround for https://github.com/vuejs/vue-cli/issues/3898
54
chainWebpack: config => {
5+
// workaround for https://github.com/vuejs/vue-cli/issues/3898
66
config.resolve.extensions.prepend('.ts')
7+
// workaround for https://github.com/vuejs/vue-cli/issues/4557#issuecomment-532805642
8+
config.plugins.delete('progress')
79
},
810
}

0 commit comments

Comments
 (0)