Skip to content

Commit

Permalink
recent @vue/cli-service needs a workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
prigaux committed Oct 13, 2019
1 parent 660fd3e commit f2ce953
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@types/mocha": "^5.2.4",
"@vue/cli-plugin-typescript": "^3.4.1",
"@vue/cli-plugin-unit-mocha": "^3.4.1",
"@vue/cli-service": "^3.4.0",
"@vue/cli-service": "^3.11.0",
"@vue/test-utils": "^1.0.0-beta.20",
"autoprefixer": "^9.5.0",
"chai": "^4.2.0",
Expand Down
4 changes: 3 additions & 1 deletion app/vue.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
module.exports = {
runtimeCompiler: true,
publicPath: "/",
// workaround for https://github.com/vuejs/vue-cli/issues/3898
chainWebpack: config => {
// workaround for https://github.com/vuejs/vue-cli/issues/3898
config.resolve.extensions.prepend('.ts')
// workaround for https://github.com/vuejs/vue-cli/issues/4557#issuecomment-532805642
config.plugins.delete('progress')
},
}

0 comments on commit f2ce953

Please sign in to comment.