-
Notifications
You must be signed in to change notification settings - Fork 67
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
Reverse order of styles & scripts #1055
Conversation
Co-authored-by: Louis Escher <[email protected]>
🦋 Changeset detectedLatest commit: 188fe2e The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Co-authored-by: Louis Escher <[email protected]>
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.
Changes look good to me, I just have a suggestion on a test
Not sure why the go lint job is failing, but for the js one, running |
It's also failing on main, so probably worth a separate PR |
ohh, only lint fails on main. I'll fix the js one now |
Co-authored-by: Bjorn Lu <[email protected]>
Anything needed to get this merged? |
Nope. I think this can merge! |
Just realized applying this as a patch might break users' sites that rely on the current behavior. Should we maybe treat this as a major change or wait for the next major version? 🤔 |
I would also argue that the changeset is very cryptic and doesn't explain the fix well. What was the bug? How are styles and scripts ordered after the fix? |
is there a chance that this will be merged soon? the issue with styles arises not only when there are two |
Co-authored-by: Happydev <[email protected]>
Changes
For example, with component like the follow:
The current compiler output would render
red
last, even thoughyellow
was the last style-tag defined.Enabling the
experimentalScriptOrder
flag will respect the order style & script tags are defined.Testing
Docs