[READ-ONLY] Mirror of https://github.com/hacknug/tailwindcss-plugin-utils. A bunch of utilities to help you create and maintain plugins for Tailwind. www.npmjs.com/package/@hacknug/tailwindcss-plugin-utils
0

Configure Feed

Select the types of activity you want to include in your feed.

Remove unnecessary function param

Nestor Vera (Oct 13, 2019, 6:25 PM +0200) 244306aa a61d0e8e

+2 -2
+1 -1
src/index.js
··· 73 73 * @param {Object} pluginRecipes 74 74 */ 75 75 // TODO: Rename to denote it ONLY adds utilities 76 - export const buildPlugin = (coreUtils, pluginOptions, pluginRecipes) => { 76 + export const buildPlugin = (coreUtils, pluginRecipes) => { 77 77 // TODO: Add support for String recipes? 78 78 const prepareRecipe = (recipe) => { 79 79 const {
+1 -1
src/plugin.js
··· 3 3 4 4 module.exports = (pluginOptions) => ({ 5 5 config: defaultConfig, 6 - handler: (coreUtils) => buildPlugin(coreUtils, pluginOptions, [ 6 + handler: (coreUtils) => buildPlugin(coreUtils, [ 7 7 { key: ['columnCount'], base: 'col-count' }, 8 8 { key: ['columnGap', 'gap', 'gridGap'], base: 'col-gap' }, 9 9 { key: ['columnSpan'], base: 'col-span' },