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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't resolvebourbon #1078

Open
FDiskas opened this issue Jul 11, 2019 · 2 comments
Open

can't resolvebourbon #1078

FDiskas opened this issue Jul 11, 2019 · 2 comments

Comments

@FDiskas
Copy link

FDiskas commented Jul 11, 2019

Some bundlers like parcel can't resolvebourbon when included in scss because of the main entry in package.json file. Please change the main entry point to same path as it is in style = "core/_bourbon.scss", 馃幎

No result in scss looks like

@import 'normalize.css';
@import '~node_modules/bourbon/core/bourbon';

but could be like

@import 'normalize.css';
@import 'bourbon';

Originally posted by @FDiskas in #802 (comment)
Reference: parcel-bundler/parcel#3205

@tysongach
Copy link
Contributor

I鈥檝e not used Parcel extensively, but from what I gather it鈥檚 a bundler that wraps other tools and Parcel itself is not responsible for the compiling of Sass. According to their SCSS documentation, it appears that you can use Parcel with Dart Sass (the sass package on npm) or node-sass (the node-sass on package npm). Can you clarify which one you are using?

Also, have you tried using eyeglass and following our instructions in the readme for Installing with npm and using a Node-based asset pipeline?

@FDiskas
Copy link
Author

FDiskas commented Oct 25, 2019

Demo repo https://github.com/FDiskas/parcel-bug

FDiskas added a commit to FDiskas/bourbon that referenced this issue Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants