📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
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.7.2
latest
npm
Version published
Maintainers
1
Created
Source

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

Utility for @semcore component's styles manipulations.

Install

pnpm:

$ pnpm 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.

FAQs

Package last updated on 15 Feb 2023

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