question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

External CSS isn't imported correctly

See original GitHub issue

Opening 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:closed
  • Created 8 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

7reactions
webarkcommented, Mar 10, 2016

@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 ❤️ ! 😃

0reactions
webarkcommented, Mar 25, 2016

The beta version should solve this. Please reopen with an example if it does not.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found