fela-plugin-logger

12.2.1 • Public • Published

fela-plugin-logger

npm version npm downloads Bundlephobia

Logs processed styles to the console at a given point of processing.
Not to be confused with fela-logger which is used to render the real rendered output.

This plugin is intended to be used to debug style processing steps.

Installation

yarn add fela-plugin-logger

You may alternatively use npm i --save fela-plugin-logger.

Usage

Make sure to read the documentation on how to use plugins.

import { createRenderer } from 'fela'
import logger from 'fela-plugin-logger'

const renderer = createRenderer({
  plugins: [logger()],
})

License

Fela is licensed under the MIT License.
Documentation is licensed under Creative Commons License.
Created with by @robinweser and all the great contributors.

Package Sidebar

Install

npm i fela-plugin-logger

Weekly Downloads

212

Version

12.2.1

License

MIT

Unpacked Size

8.06 kB

Total Files

6

Last publish

Collaborators

  • rofrischmann
  • txhawks