npm

Need private packages and team management tools?Check out npm Orgs. »

react-scripts-sass-chokidar

1.2.1 • Public • Published

react-scripts-sass-chokidar

Simple implementation of the React team's recommended approach to integrating CSS preprocessors using npm scripts and node-sass-chokidar. Uses *.scss file extension by default.

Opinionated file structure, which assumes a component-based approach to stylesheets. Treats files matching /src/component/**/*.css and /src/*.css as build artifacts in .gitignore. *.css files that need to be checked in to source control can be placed in /src/css:

my-app
├── README.md
├── node_modules
├── package.json
├── .gitignore
├── public
│   └── favicon.ico
│   └── index.html
│   └── manifest.json
└── src
    ├── index.js
    ├── index.scss
    ├── registerServiceWorker.js
    ├── component
    │   └── App
    │       └── App.scss
    │       └── index.js
    │       └── index.test.js
    ├── css
    │   └── _var.scss
    └── img
        └── logo.svg

This package includes scripts and configuration used by Create React App.

For more information, please refer to its documentation:

Keywords

none

install

npm i react-scripts-sass-chokidar

Downloadsweekly downloads

4

version

1.2.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability