source: frontend/node_modules/postcss-merge-longhand/src/index.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: 474 bytes
Line 
1'use strict';
2const processors = require('./lib/decl');
3/**
4 * @type {import('postcss').PluginCreator<void>}
5 * @return {import('postcss').Plugin}
6 */
7function pluginCreator() {
8 return {
9 postcssPlugin: 'postcss-merge-longhand',
10
11 OnceExit(css) {
12 css.walkRules((rule) => {
13 processors.forEach((p) => {
14 p.explode(rule);
15 p.merge(rule);
16 });
17 });
18 },
19 };
20}
21
22pluginCreator.postcss = true;
23module.exports = pluginCreator;
Note: See TracBrowser for help on using the repository browser.