@fast-styles/babel-plugin

0.2.3 • Public • Published

Fast-Styles Babel Plugin

This is a plugin that generates the stylemap used by fast-styles at transpile time.

Installation

npm install --save-dev @fast-styles/babel-plugin

or

yarn add -D @fast-styles/babel-plugin

Configuration

You need to add the plugin to your Babel configuration file for it to work.

// 1. Import the Fast-Styles Babel Plugin
const babelPluginFastSyles = require('@fast-styles/babel-plugin');

module.exports = {
  plugins: [
     // 2. Add the plugin to the list
     babelPluginFastSyles,
  ],
};

Readme

Keywords

none

Package Sidebar

Install

npm i @fast-styles/babel-plugin

Weekly Downloads

30

Version

0.2.3

License

MIT

Unpacked Size

60.7 kB

Total Files

7

Last publish

Collaborators

  • fedemartin