External CSS isn't imported correctly
See original GitHub issueOpening a new issue for the discussion at #121.
Since upgrading Ember CLI, the addon doesn’t correctly import CSS-files that are referenced in the ember-cli-build.js
-file.
app.import('bower_components/sweetalert/dist/sweetalert.css');
…never makes it into vendor.css
for example. Same with the CSS in some addons like ivy-codemirror.
Strangely, this addon’s CSS seems to get imported just fine.
Haven’t tracked down the error yet, but any help is appreciated! 😃
Issue Analytics
- State:
- Created 8 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Solving the React Error: Not Picking Up CSS Style | Pluralsight
CSS helps in styling webpages, but sometimes code may not get properly imported or may show a few errors while it is being...
Read more >Best way to include CSS? Why use @import? - Stack Overflow
From a page speed standpoint, @import from a CSS file should almost never be used, as it can prevent stylesheets from being downloaded...
Read more >@import css not working | OutSystems
I am trying to import an external CSS file in my Theme CSS. ... is displayed correctly, it's just not actually importing it...
Read more >import - CSS: Cascading Style Sheets - MDN Web Docs
The @import CSS at-rule is used to import style rules from other valid stylesheets. An @import rule must be defined at the top...
Read more >External CSS Stylesheets – How to Link CSS to HTML and ...
It is considered a best practice to have your CSS stylesheets in an external file. So how can you link that CSS to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jakedetels we are in the process of fixing this issue with the referenced PR. Hoping to have it merged soon so it will work with the most recent and future versions of ember-cli. Please follow along there. Don’t loose ❤️ ! 😃
The beta version should solve this. Please reopen with an example if it does not.