Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

not clear which file to import ... @import "sanitize.css/sanitize" #40

Open
violinchris opened this issue Jan 12, 2019 · 0 comments
Open

Comments

@violinchris
Copy link

I think I am using this in a very typical way with node-sass, but I am having to make a change to node_modules/marx-css/scss/marx.scss to get things to work.

from my package.json

"scripts": {
  "build-css": "node-sass src/scss/ -o public/css/ --include-path node_modules/",
}

copy/paste from error i get when using npm run build-css

"status": 1,
"file": "node_modules/marx-css/scss/marx.scss",
"line": 3,
"column": 1,
"message": "It's not clear which file to import for '@import\"sanitize.css/sanitize\"'.\nCandidates:\n  sanitize.css/sanitize.scss\n  sanitize.css/sanitize.css\nPlease delete or rename all but one of these files."

to make this work, i need to make a change in node_modules/marx-css/scss/marx.scss from

@import 'sanitize.css/sanitize';

to

@import 'sanitize.css/sanitize.scss';

and just for reference, here is an example of my index.scss

$primary: yellow;
@import 'marx-css/scss/marx.scss';

Can the @import line in marx.scss be changed to include the .scss extension? Thanks.

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