Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-remove-sass

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-remove-sass

Remove SASS imports

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 19 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc