E
E
Egor Astreiko2018-10-25 06:51:23
npm
Egor Astreiko, 2018-10-25 06:51:23

Why is the file not exported?

Hello everyone, I ran into a problem that the file is not imported.
I wanted to connect normalize.css to the site, saved it using npm:
npm i normalize.css --save, imported it into scss:

@import "../../node_modules/normalize.css/normalize.css";

in the finished file received a link:
@import url("../../node_modules/normalize-scss/sass/_normalize.scss");

I don't need a link, I decided to try normalize-scss, saved with npm:
npm i normalize-scss --save, imported into scss
@import "../../node_modules/normalize-scss/sass/normalize";

got nothing in the finished file...
Project tree
  • project
    • app
      • sass
        • style.scss
        • _libs.scss
    • build
      • css
      • style.css
    • node_modules
    • gulpfile.js
    • package.json


В style.scss импортирую _libs.scss, в _libs.scss импортирую уже normalize

I can't figure out why if I import "normalize-scss" I end up with nothing...
Thanks in advance.

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