-
-
Notifications
You must be signed in to change notification settings - Fork 426
Make bourbon-neat a proper npm package #397
Conversation
Hi, when this pull request will be merged ? It would be nice to include Neat the same way as in Bourbon. |
+1 |
Yeah, when trying to use ../node_modules/bourbon-neat/app/assets/stylesheets/_neat.scss:7 SyntaxError: Unexpected token ILLEGAL The full Gulpfile.js for context. Applying #397 fixes the error and allows me to compile without any issues! 😅 |
👍 |
When requiring `bourbon-neat` in Node it currently imports `neat.scss`. This changes the entrypoint to `index.js` which exposes `includePaths`. The `includePaths` can be passed to libsass which are used to resolve `@import` declarations.
a23d500
to
24f5eba
Compare
|
||
module.exports = { | ||
includePaths: [ | ||
path.join(__dirname, 'app/assets/stylesheets'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'__dirname' is not defined.
@BlakeWilliams When I install bourbon-neat from NPM I still get the old version currently. |
@fschroiff This is only on |
@BlakeWilliams great! Thank you. |
When requiring
bourbon-neat
in Node it currently importsneat.scss
.This changes the entrypoint to
index.js
which exposesincludePaths
.The
includePaths
can be passed to libsass which are used to resolve@import
declarations.