From c7938b07a2ff2f82bb3179e0fe9858da5ea0d97c Mon Sep 17 00:00:00 2001 From: cexbrayat Date: Wed, 19 Feb 2020 14:29:32 +0100 Subject: [PATCH] chore: remove vue-template-compiler When https://github.com/vuejs/vue-cli/pull/5170 lands in the CLI, we should be able to remove `vue-template-compiler` from the devDependencies. Fixes #5 --- generator/index.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/generator/index.js b/generator/index.js index 7ea498b..01c35eb 100644 --- a/generator/index.js +++ b/generator/index.js @@ -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) }