Should Embroider passthrough script attributes?
See original GitHub issueHi,
should Embroider passthrough the HTML attributes like defer
on scripts from app/index.html
into dist/index.html
for ember build --environment=production
?
<!-- app/index.html -->
<script src="{{rootURL}}assets/vendor.js" defer></script>
<script src="{{rootURL}}assets/embroider-playground.js" defer></script>
<!-- dist/index.html -->
<script src="/assets/vendor.js"></script>
<script src="/assets/chunk.c1fdfc6b793b9d023c96.js"></script>
<script src="/assets/chunk.4aecffffbd029f26d4de.js"></script>
Thanks ☺️
Just for curiosity why the assets/embroider-playground.js
is split into two chunks by default?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
embroider/ember-webpack.ts at main - GitHub
embroider /ember-webpack.ts at main · embroider-build/embroider. ... zero here means we always attribute passthrough scripts to the. // first build variant.
Read more >v2 Addon Format (Embroider Compatibility) - Ember RFCs
Implicit Dependencies: scripts, modules, and stylesheets that should be implicitly included in the app or the app's tests whenever this addon is ...
Read more >The Script element - HTML: HyperText Markup Language
This attribute allows the elimination of parser-blocking JavaScript where the browser would have to load and evaluate scripts before continuing ...
Read more >About Annex Sports & Trophy Center | Logansport, IN Trophies
Annex Sports & Trophy Center provides custom screen printing, embroidery, trophies, plaques, awards, signs, banners and more to the Logansport, ...
Read more >Basehor, KS Embroidery - About House of Apparel
Our automated screen printing presses, multiple embroidery machines and highly ... We can outfit you with custom printed T-shirts, hoodies, sweatshirts, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @rahulk94! I think only tests is missing in original PR to move it forward
Oops, never mind me, I was mixed up with
async
.