Skip to content

Commit c7938b0

Browse files
committed
chore: remove vue-template-compiler
When vuejs/vue-cli#5170 lands in the CLI, we should be able to remove `vue-template-compiler` from the devDependencies. Fixes vuejs#5
1 parent a5c28ab commit c7938b0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

generator/index.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ module.exports = (api) => {
44
vue: '^3.0.0-alpha.4'
55
},
66
devDependencies: {
7-
'@vue/compiler-sfc': '^3.0.0-alpha.4'
7+
'@vue/compiler-sfc': '^3.0.0-alpha.4',
8+
// remove the vue-template-compiler
9+
'vue-template-compiler': null
810
}
11+
},
12+
{
13+
prune: true
914
})
1015

1116
api.transformScript(api.entryFile, require('./codemods/rfc09-global-api'))
12-
13-
// TODO: uninstall vue-template-compiler (need to fix @vue/cli-service first)
1417
}

0 commit comments

Comments
 (0)