Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Creativenauts opened this issue May 9, 2016 · 0 comments
Open

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

Creativenauts opened this issue May 9, 2016 · 0 comments

Comments

@Creativenauts
Copy link

Creativenauts commented May 9, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant