node-normalize-scss

8.1.2 • Public • Published

node-normalize-scss

This is simply a renamed normalize.css 8.0.1 file, suitable for importing with npm and libsass directly. No changes have been made to the actual file.

Install

npm install node-normalize-scss --save-dev

OR

yarn add node-normalize-scss --dev

Using with gulp-sass

var gulp = require("gulp");
var sass = require("gulp-sass");
 
gulp.task("sass", function() {
  gulp
    .src("path/to/app.scss")
    .pipe(
      sass({
        includePaths: require("node-normalize-scss").includePaths
      })
    )
    .pipe(gulp.dest("path/to/output.css"));
});

Using with webpack

module.exports = {
  module: {
    rules: [
      {
        use: [
          {
            loader: "sass-loader",
            options: {
              includePaths: require("node-normalize-scss").includePaths
            }
          }
        ]
      }
    ]
  }
};

Using in scss

After creating your gulp task, you can import any of the resets like so:

@import 'normalize';

/node-normalize-scss/

    Package Sidebar

    Install

    npm i node-normalize-scss

    Weekly Downloads

    2,212

    Version

    8.1.2

    License

    MIT

    Unpacked Size

    1.73 kB

    Total Files

    3

    Last publish

    Collaborators

    • ranjanaap
    • ranjandatta