-
Notifications
You must be signed in to change notification settings - Fork 137
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
Should Embroider passthrough script attributes? #456
Comments
In general, yes, we should leave attributes like However, I don't think that actually works reliably in Ember apps in general, with or without embroider.
Webpack's default settings put things from Under embroider, we will have some legacy things in vendor.js, but much of what was in there has moved into the node_modules chunk. |
@ef4, thanks for the explanation 👍
This makes me worried 🙈, where does this come from? I live with the following statement
from https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script. |
Oops, never mind me, I was mixed up with |
Hey team any updates on this? I'm trying to set |
Hi @rahulk94! I think only tests is missing in original PR to move it forward |
This ensures user-defined attributes on `<script>` and `<link>` tags in the compat `index.html` are propagated to the final HTML file. Fixes embroider-build#456 Co-authored-by: Jan Bobisud <[email protected]>
This ensures user-defined attributes on `<script>` and `<link>` tags in the compat `index.html` are propagated to the final HTML file. Fixes embroider-build#456 Co-authored-by: Jan Bobisud <[email protected]>
This ensures user-defined attributes on `<script>` and `<link>` tags in the compat `index.html` are propagated to the final HTML file. Fixes embroider-build#456 Co-authored-by: Jan Bobisud <[email protected]>
This ensures user-defined attributes on `<script>` and `<link>` tags in the compat `index.html` are propagated to the final HTML file. Fixes embroider-build#456 Co-authored-by: Jan Bobisud <[email protected]>
Hi,
should Embroider passthrough the HTML attributes like
defer
on scripts fromapp/index.html
intodist/index.html
forember build --environment=production
?Thanks☺️
Just for curiosity why the
assets/embroider-playground.js
is split into two chunks by default?The text was updated successfully, but these errors were encountered: