R
R
ravshan selimov2020-09-19 19:18:12
css
ravshan selimov, 2020-09-19 19:18:12

Problem compiling scss to css???

Hello.

There is a .scss file, I include third-party styles there

@import url('/blog/css/assets.css');
@import url('/blog/css/structure.css');

The compiled .css file looks like this
@import url('/blog/css/assets.css');
@import url('/blog/css/structure.css');


sass is compiled via ruby ​​(old project).
Added assembly (production) via gulp.
There are no problems when opening the page, there is a problem when building gulp.
Gulp throws an error Ignorical local @import of ... missing.

This error is due to the fact that I changed the file structure.
Previously, the site code was stored in folderName.
Now the site code is stored in folderName/src.

Is there a way to tell sass to import them instead of rewriting them?
Or tell gulp to import not from folderName , but from folderName/src

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question