Skip to content
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

Fix unintended Vue asset supplemental code insertion #1576

Merged
merged 1 commit into from
Jun 18, 2018

Conversation

chalkpe
Copy link
Contributor

@chalkpe chalkpe commented Jun 18, 2018

This PR fixes the first line of supplemental code being accidentally commented out when the generated JS code (the js variable) was ended with //.

screen shot 2018-06-18 at 20 14 20

@DeMoorJasper DeMoorJasper merged commit 1701f9b into parcel-bundler:master Jun 18, 2018
devongovett pushed a commit that referenced this pull request Oct 15, 2018
This PR fixes the first line of supplemental code being [accidentally commented out](https://github.com/parcel-bundler/parcel/blob/v1.9.1/src/assets/VueAsset.js#L112) when the generated JS code (the `js` variable) was ended with `//`.

![screen shot 2018-06-18 at 20 14 20](https://user-images.githubusercontent.com/9481405/41533572-39fc91a4-7336-11e8-997e-22154a158219.png)
devongovett pushed a commit that referenced this pull request Oct 15, 2018
This PR fixes the first line of supplemental code being [accidentally commented out](https://github.com/parcel-bundler/parcel/blob/v1.9.1/src/assets/VueAsset.js#L112) when the generated JS code (the `js` variable) was ended with `//`.

![screen shot 2018-06-18 at 20 14 20](https://user-images.githubusercontent.com/9481405/41533572-39fc91a4-7336-11e8-997e-22154a158219.png)
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.

2 participants