You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If within the browser.json of a user control / component (inside components folder) a CSS from URL is defined and <script> tags are present inside the markup file, all CSS files except those from the URL's will be bundled.
Here's a scenario:
A user control foocontrol is created. components > foocontrol contains the following files:
If the markup file index.marko contains <script> tags, for example:
<button type="button" onclick="haveABlast()">
Click Me!
</button>
<!-- More contents or nothing.. -->
<script>
//anything that makes sense in js
</script>
This will cause style.css to get bundled but the CSS from jquery-ui.css will not be included.
The text was updated successfully, but these errors were encountered:
shahriarhusainy
changed the title
CSS bundling issue with script tags inide the markup of components
CSS bundling issue with script tags inside the markup of components
May 5, 2017
If within the
browser.json
of a user control / component (insidecomponents
folder) a CSS from URL is defined and<script>
tags are present inside the markup file, all CSS files except those from the URL's will be bundled.Here's a scenario:
A user control
foocontrol
is created.components > foocontrol
contains the following files:browser.json
component.js
index.marko
style.css
bar.js
The file
browser.json
contains:If the markup file
index.marko
contains<script>
tags, for example:This will cause
style.css
to get bundled but the CSS from jquery-ui.css will not be included.The text was updated successfully, but these errors were encountered: