0.1.8 • Published 8 months ago

@griffel/vite-plugin v0.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@griffel/vite-plugin

The package contains a plugin for Vite.

Installation

# npm
npm i -D @griffel/tag-processor @griffel/vite-plugin
# yarn
yarn add --dev @griffel/tag-processor @griffel/vite-plugin

Usage

After installation, add the plugin to your vite.config.js:

import { defineConfig } from 'vite';
import griffel from '@griffel/vite-plugin';

export default defineConfig(({ command }) => ({
  // ...
  plugins: [
    // We recommend using the plugin only in production builds to get optimized output
    command === 'build' && griffel(),
  ],
}));
0.1.8

8 months ago

0.1.7

11 months ago

0.1.4

1 year ago

0.1.6

12 months ago

0.1.5

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago