Remove SASS
Babel Plugin
Simple Babel plugin to remove SASS import declarations.
e.g. turns this:
import 'your-file.scss';
into this:
Installation
$ yarn add babel-plugin-remove-sass --dev
Usage
Create your React component as you usually would and import your SASS files.
import './my-sass.scss';
function Component() {
return <div className="my-class">My Component</div>;
}
export default Component;
The plugin will simply remove the declaration.
function Component() {
return <div className="my-class">My Component</div>;
}
export default Component;
Issues
Feel free to report issues or ask questions.