node-normalize-scss
v8.1.2
Published
Normalize.css as an npm packaged, libsass module with no changes
Downloads
9,394
Readme
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';