-
Notifications
You must be signed in to change notification settings - Fork 485
Vuejs support #1055
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vuejs support #1055
Conversation
src/index.js
Outdated
@@ -102,8 +103,13 @@ function buildInternal(inputsAndConfig) { | |||
if (!sourceFile.source) { | |||
sourceFile.source = fs.readFileSync(sourceFile.file, 'utf8'); | |||
} | |||
var extension = sourceFile.file.substr(sourceFile.file.length - 4); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const
may be a better choice
@batje awesome! |
I forgot to add package-lock.json. I added it now, not sure how to update the pull request and rerun the tests. |
Cool! I have a few refactoring/cleanup tasks on this one that I'm pushing to #1056 |
I implemented your suggestion for using a const instead of a var and another suggestion from lint. |
@tmcw you are faster than my email. Thanks for reviewing so quickly and thoroughly. |
Thanks @batje - Vue support is implemented and released in 6.3.0! |
I did was requested in #952 and it seems to work.
The tests fail because of an issue with chalk, but i suspect that is not my code.