at-import / breakpoint

Really simple media queries in Sass
MIT License
2.09k stars 142 forks source link

Sourcemaps Issue Stylesheet could not be loaded... #168

Open Creativenauts opened 8 years ago

Creativenauts commented 8 years ago

Hello,

I'm running into an issue with breakpoint-sass where it's not working with sourcemaps.

This is the message I'm receiving with browser inspector

"Stylesheet could not be loaded. http://localhost:3000/bower_components/breakpoint-sass/stylesheets/_breakpoint-scss"

I followed the wiki and this is what my gulpfile looks like:

`

return gulp.src('src/sass/styles.scss')
    .pipe(plumber())
    .pipe(sourcemaps.init())
    .pipe(sassGlob())
    .pipe(sass({
        compass: false,
        includePaths: [
            './bower_components/susy/sass',
            './bower_components/susy/lib',
            './bower_components/susy/sass/susy',
            './bower_components/breakpoint-sass/stylesheets',
            require('node-bourbon').includePaths
        ],
        outputStyle: 'compact'
    }).on('error', sass.logError))
    .pipe(sourcemaps.write('./maps'))
    .pipe(gulp.dest('dist/assets/css'))
    .pipe(reload({
        stream: true
    }));

`

This is how I'm importing the file in my main stylesheet.

@import "breakpoint";

Any help would greatly be appreciated. Been pulling my hair out for a few hours here.