Skip to content

CSS file ignored if it starts with a block comment #158

@michaeladler

Description

@michaeladler

src/app.css is ignored (i.e. no css file is produced in the dist/ folder) when it starts with a block-comment, e.g.

/*
Author: John Doe
*/
@import "tailwindcss";
@import "highlight.js/styles/github.css";

Actual behavior: No css file is generated in the dist/ directory.
Expected behavior: The css file should be generated and available in the dist/ folder.

My current workaround is to put the comment at the bottom, then it works:

@import "tailwindcss";
@import "highlight.js/styles/github.css";
/*
Author: John Doe
*/

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThings that are misbehaving or are brokenhelp wantedGood issues for external contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions