@tomtwo/react-app-rewire-sass
v1.0.2
Published
wires up node-sass to compile sass files when using react-app-rewired with create-react-app
Downloads
7
Readme
@tomtwo/react-app-rewire-sass
An updated version of react-app-rewire-sass which supports [email protected]
, allowing you to import .scss
files straight into Create React App projects without ejecting.
Install
npm install @tomtwo/react-app-rewire-sass
or
yarn add @tomtwo/react-app-rewire-sass
Usage
In your config-overrides.js
:
const rewireSass = require('@tomtwo/react-app-rewire-sass');
module.exports = function override(config, env) {
config = rewireSass(config, env);
return config;
};