
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
fela-combine-arrays
Advanced tools
Deprecated!
The combine arrays enhancer is deprecated, please remove it from your Fela configuration.
It is obsolete as css-in-js-utils' assignStyle now combines arrays by default.
Enables merging array values when combining rules.
This is especially useful if you want to deeply merge extend arrays using fela-plugin-extend.
yarn add fela-combine-arrays
You may alternatively use npm i --save fela-combine-arrays
.
Make sure to read the documentation on how to use plugins.
import { createRenderer } from 'fela'
import combineArrays from 'fela-combine-arrays'
const renderer = createRenderer({
enhancers: [ combineArrays() ]
})
To only merge a specific set of property values, you may pass an array of properties.
import { createRenderer } from 'fela'
import combineArrays from 'fela-combine-arrays'
const combineArrayEnhancer = combineArrays(['extend'])
const renderer = createRenderer({
enhancers: [ combineArrayEnhancer ]
})
Fela is licensed under the MIT License.
Documentation is licensed under Creative Common License.
Created with ♥ by @rofrischmann and all the great contributors.
FAQs
Fela enhancer to merge array values when combining rules
The npm package fela-combine-arrays receives a total of 44 weekly downloads. As such, fela-combine-arrays popularity was classified as not popular.
We found that fela-combine-arrays demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.