Skip to content

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

Closed
wants to merge 6 commits into from
Closed

Vuejs support #1055

wants to merge 6 commits into from

Conversation

batje
Copy link
Contributor

@batje batje commented Apr 20, 2018

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.

@batje batje closed this Apr 20, 2018
@batje batje reopened this Apr 20, 2018
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);

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

@sobolevn
Copy link

@batje awesome!

@batje
Copy link
Contributor Author

batje commented Apr 20, 2018

I forgot to add package-lock.json. I added it now, not sure how to update the pull request and rerun the tests.

@tmcw
Copy link
Member

tmcw commented Apr 20, 2018

Cool! I have a few refactoring/cleanup tasks on this one that I'm pushing to #1056

@batje
Copy link
Contributor Author

batje commented Apr 20, 2018

I implemented your suggestion for using a const instead of a var and another suggestion from lint.
I cant find your comment anymore, so replying here.
@sobolevn

@batje
Copy link
Contributor Author

batje commented Apr 20, 2018

@tmcw you are faster than my email. Thanks for reviewing so quickly and thoroughly.

@tmcw
Copy link
Member

tmcw commented Apr 20, 2018

Thanks @batje - Vue support is implemented and released in 6.3.0!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants