0.1.4 • Published 7 years ago
react-scripts-plugin-scss v0.1.4
⚠️ DEPRECATED ️️⚠️
This plugin is no longer needed, CRA 2.0 now supports SASS when node-sass is installed!
SCSS Modules Plugin for Create React App
Enable SCSS in your CRA app.
Install
yarn add -D react-scripts-plugin-scssAdd to cra.config.js
module.exports = {
plugins: ['scss'],
};Note on SCSS Modules
This plugin may be used in conjunction with the css-modules plugin to support SCSS Modules. For it to work properly, css-modules must be listed before scss, eg: plugins: ['css-modules', 'scss']
Compatability
The official Create React App does not have a supported plugin system. This plugin is compatable with the following forks: