Skip to content

Commit

Permalink
chore: remove vue-template-compiler
Browse files Browse the repository at this point in the history
When vuejs/vue-cli#5170 lands in the CLI, we should be able to remove `vue-template-compiler` from the devDependencies.

Fixes vuejs#5
  • Loading branch information
cexbrayat committed Feb 19, 2020
1 parent a5c28ab commit c7938b0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions generator/index.js
Expand Up @@ -4,11 +4,14 @@ module.exports = (api) => {
vue: '^3.0.0-alpha.4'
},
devDependencies: {
'@vue/compiler-sfc': '^3.0.0-alpha.4'
'@vue/compiler-sfc': '^3.0.0-alpha.4',
// remove the vue-template-compiler
'vue-template-compiler': null
}
},
{
prune: true
})

api.transformScript(api.entryFile, require('./codemods/rfc09-global-api'))

// TODO: uninstall vue-template-compiler (need to fix @vue/cli-service first)
}

0 comments on commit c7938b0

Please sign in to comment.