@stylexjs/rollup-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.6.1 • Public • Published

@stylexjs/rollup-plugin

Documentation Website

https://stylexjs.com

Installation

Install the package by using:

npm install --save-dev @stylexjs/rollup-plugin

or with yarn:

yarn add --dev @stylexjs/rollup-plugin

Add the following to you rollup.config.mjs

import stylexPlugin from '@stylexjs/rollup-plugin';

const config = {
  input: './index.js',
  output: {
    file: './.build/bundle.js',
    format: 'es',
  },
  plugins: [stylexPlugin({ fileName: 'stylex.css' })],
};

export default config;

Readme

Keywords

none

Package Sidebar

Install

npm i @stylexjs/rollup-plugin

Weekly Downloads

679

Version

0.6.1

License

MIT

Unpacked Size

292 kB

Total Files

18

Last publish

Collaborators

  • necolas
  • naman34