We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bec693 commit 3614b45Copy full SHA for 3614b45
bin/vue-codemod.ts
@@ -66,8 +66,23 @@ async function main() {
66
}
67
68
if (runAllTransformation) {
69
+ const excludedTransformations = [
70
+ 'define-component',
71
+ 'new-vue-to-create-app',
72
+ 'remove-contextual-h-from-render',
73
+ 'remove-production-tip',
74
+ 'remove-trivial-root',
75
+ 'remove-vue-use',
76
+ 'root-prop-to-use',
77
+ 'vue-as-namespace-import',
78
+ 'add-import',
79
+ 'remove-extraneous-import'
80
+ ]
81
+
82
for (let key in builtInTransformations) {
- processTransformation(resolvedPaths, key, builtInTransformations[key])
83
+ if (!excludedTransformations.includes(key)) {
84
+ processTransformation(resolvedPaths, key, builtInTransformations[key])
85
+ }
86
87
88
for (let key in vueTransformations) {
0 commit comments