embroider-build / embroider

Compiling Ember apps into spec-compliant, modern Javascript.
MIT License
331 stars 137 forks source link

[Bug] Not allowed to remove app.css #1093

Open NullVoxPopuli opened 2 years ago

NullVoxPopuli commented 2 years ago

Related to: https://github.com/embroider-build/embroider/issues/1033 Originally reported: https://github.com/emberjs/ember.js/issues/19915

🐞 Describe the Bug

I tried deleting {{app}}.css and vendor.css, and got this error:

Could not find app css: "/assets/wordle.css" in index.html. Found the following instead:

Error appears in ember s terminal.

using embroider.

🔬 Minimal Reproduction

Any app, delete the two links to the default CSS

😕 Actual Behavior

error

🤔 Expected Behavior

no error, request not made

🌍 Environment

➕ Additional Context

I'm using tailwind via npx ember-apply tailwind, so I don't need app.css

simonihmig commented 2 years ago

I can confirm. This comment seems to be related: https://github.com/embroider-build/embroider/issues/1033#issuecomment-982726689

MichalBryxi commented 1 year ago

Came from the same direction of npx ember-apply tailwind. Getting the same error:

Could not find app css: "/assets/foun.css" in tests/index.html. Found the following instead: