Skip to content

[BUGFIX] ensure CSS instructions work out the box#188

Open
billybonks wants to merge 1 commit intoember-cli:mainfrom
billybonks:fix/styles-correctly-compile
Open

[BUGFIX] ensure CSS instructions work out the box#188
billybonks wants to merge 1 commit intoember-cli:mainfrom
billybonks:fix/styles-correctly-compile

Conversation

@billybonks
Copy link
Copy Markdown

Since Vite became the default, if you follow the instructions for plain CSS and create multiple CSS files they will not be compiled properly

this is because according to embroider spec the CSS file should have an import statement in order for the compilation to occur properly

https://embroider-build.github.io/embroider/docs/spec.html see under CSS header

Initial research done here embroider-build/embroider#2657

Since Vite became the default, if you follow the instructions for plain
CSS and create multiple CSS files they will not be compiled properly

this is because according to embroider spec the CSS file should have an
import statement in order for the compilation to occur properly

https://embroider-build.github.io/embroider/docs/spec.html see under
CSS header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant