benbria / browserify-transform-tools

Utilities for writing browserify transforms.
MIT License
65 stars 15 forks source link

add .vue to support vue single file components #26

Open defcc opened 7 years ago

defcc commented 7 years ago

We use aliasify to require vue version dynamicly in vue browserify template, which uses browserify-transform-tools to process files.

Everything goes ok except the ".vue" files, which are not recognized as js type and thus are ignored. Also ".vue" single file component is become more and more popular in vue.js ecosystem. So I open this PR to add .vue to JS_EXTENSIONS.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 91.892% when pulling d2c8a654eb74c35c8adf4cd80d959bc162751b23 on defcc:master into 64ca9bfa60b8242a4d1c9dbef603f003f46e6ccd on benbria:master.