pawelgabryelewicz / babel-preset-typescript-vue

TypeScript preset for Babel 7.x supporting Vue.js components written in TS
MIT License
22 stars 4 forks source link

Remove restriction on preset options #7

Closed whiskyjs closed 4 years ago

whiskyjs commented 4 years ago

The PR allows the preset to accept arbitrary set of options by removing hardcoded defaults. Previously, specifying allowNamespaces, allowDeclareFields or onlyRemoveTypeImports had no desired effect. And, since the options are identical, the explicit list can probably be removed from README as well.

pawelgabryelewicz commented 4 years ago

Valid point. Yep, I have created this preset as a very temporary solution, it was supposed to live for a very short time. Merging, I'll release it in a while. Thank you for you contribution!