Quantcast
Viewing all articles
Browse latest Browse all 4826

Import scss from node_modules into app.scss

@bmurphy wrote:

Hello,

I’m attempting to upgrade to Ember-CLI 3.5.0 and some previously working import statements in my app.scss are now causing a build error “File to import not found or unreadable…”

@import '../../node_modules/spinkit/scss/spinners/3-wave';
@import '../../node_modules/spinkit/scss/spinners/7-three-bounce';

I have tried:

@import 'spinkit/scss/spinners/3-wave';
@import 'spinkit/scss/spinners/7-three-bounce';

But no luck.

I do have ember-cli-sass installed but I’m unsure if I’m simply missing a proper bit of configuration. So far I’ve tried adding the following to my ember-cli-build.js but I still get the same build errors.

sassOptions: {
  includePaths: [
    'node_modules/spinkit/scss'
  ]
},

Any guidance is greatly appreciated Image may be NSFW.
Clik here to view.
:slight_smile:

Cheers

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4826

Trending Articles