source: frontend/node_modules/tailwindcss/lib/util/configurePlugins.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 13 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 685 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", {
3 value: true
4});
5Object.defineProperty(exports, "default", {
6 enumerable: true,
7 get: function() {
8 return _default;
9 }
10});
11function _default(pluginConfig, plugins) {
12 if (pluginConfig === undefined) {
13 return plugins;
14 }
15 const pluginNames = Array.isArray(pluginConfig) ? pluginConfig : [
16 ...new Set(plugins.filter((pluginName)=>{
17 return pluginConfig !== false && pluginConfig[pluginName] !== false;
18 }).concat(Object.keys(pluginConfig).filter((pluginName)=>{
19 return pluginConfig[pluginName] !== false;
20 })))
21 ];
22 return pluginNames;
23}
Note: See TracBrowser for help on using the repository browser.