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

Don't render script tag when JavaScript check is disabled #28

Merged
merged 1 commit into from
Mar 17, 2021
Merged

Conversation

adriaanzon
Copy link
Contributor

I'm using Honey alongside Vue 3, and I'm getting a console warning saying that the script tags will be ignored by Vue. For some reason, when compiling the production JavaScript build, the script tag triggers a syntax error, resulting in a blank page.

I’ve been using the fix supplied in this PR and that solves this problem for me. Although I’m not sure if this causes a problem if you’re using Honey in a stand-alone way, without the config file (I’m not sure if that is supported).

@lukeraymonddowning
Copy link
Owner

@adriaanzon I'm so sorry, I completely missed this PR!

I'll give it a test later and merge if everything is golden. Thanks for all your work!

@lukeraymonddowning lukeraymonddowning merged commit 5e9465d into lukeraymonddowning:main Mar 17, 2021
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