mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
c39e555353
* Improve Fela example - add webPreset - cleaner code - add key for style - demonstrate Fela composition * Fix standard lint
9 lines
175 B
JavaScript
9 lines
175 B
JavaScript
import { createRenderer } from 'fela'
|
|
import webPreset from 'fela-preset-web'
|
|
|
|
const felaRenderer = createRenderer({
|
|
plugins: [...webPreset]
|
|
})
|
|
|
|
export default felaRenderer
|