Closed swolidity closed 9 years ago
I'm seeing a possibly related issue here, when using node 0.12.7: https://github.com/justin808/react-webpack-rails-tutorial/issues/52
See jtangelder/sass-loader#126 . Downgrade to sass-loader 1.0.2 if the improvements of 1.0.3 don't matter for you.
This would also be fixed, I think, when addImportReturnDependency
writes a relative path instead of an absolute path, using path.relative()
.
@jorrit not working for me. this loader not working.
@geminiyellow & @adavkay just downgrade to sass-loader 1.0.2 for now, see: https://github.com/justin808/bootstrap-sass-loader/issues/22
@jorrit Could you file a PR if that works and works with the older version as well?
Done, see #25.
When I npm link
the changed version, @mmahalwy 's code runs, even with sass-loader 1.0.3.
@jorrit thanks for getting to that. I appreciate it!
Hey Justin,
I'm not sure if this is a problem with your bootstrap-sass-loader or sass-loader but I thought I would let you know. My setup can be found in my repo isomorphic-react-example. My code base is based off of react-starter-kit and I run my webpack config and bundling through
gulpfile.babel.js
.When I attempted to bundle bootstrap with your loader and
sass-loader@1.0.3
I got the following error message:However, if I downgrade to
sass-loader@1.0.2
everything compiles fine.