Skip to content

Built HTML entries should contain CSS stylesheets even if not explicitly included #225

@intrnl

Description

@intrnl

This might be a little difficult to explain with the title alone, but basically, if you have this kind of setup where you don't have a stylesheet in the HTML entries...

<!-- index.html -->
<!-- the HTML doesn't have any link tag to a stylesheet -->
<script type='module' src='./index.js'></script>
// index.js
import './style/normalize.css';

It wouldn't actually try to attach any stylesheets to that HTML, which I suppose somewhat makes sense? Though it does lead to confusion for people that are so used to only importing stylesheets via JS (say, modern-normalize)

Metadata

Metadata

Assignees

No one assigned

    Labels

    DXDeveloper Experience features that make life easier.enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions