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

@semcore/babel-plugin-react-semcore

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@semcore/babel-plugin-react-semcore

Utility for `@semcore` component's styles manipulations.

  • 4.2.0
  • npm
  • Socket score

Version published
Weekly downloads
131
decreased by-40.99%
Maintainers
1
Weekly downloads
 
Created
Source

babel-plugin-react-semcorebabel-plugin-react-semcore

Utility for @semcore component's styles manipulations.

Install

yarn:

$ yarn add @semcore/babel-plugin-react-semcore -D

Usage

Webpack:

{
    test: /\.js$/,
    include: /\/node_modules\/semcore\//,
    enforce: 'pre',
    use: {
        loader: require.resolve('babel-loader'),
        options: {
            babelrc: false, // optional, include if u use .babelrc
            configFile: false, // optional, include if u use babel.config.js, doesnt affect babelrc option https://babeljs.io/docs/en/options#configfile
            plugins: [['babel-plugin-react-semcore', {
              ...pluginOptions
            }]]
        },
    },
}

Options

OptionTypeDescription
themestring or string[]This option applies theme to @semcore components.
purgeCSSObject = { shorten: false }This option forwards options to css-purge tool, which removes duplicates from built styles

FAQs

Package last updated on 11 Mar 2022

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