|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
741 bytes
|
| Line | |
|---|
| 1 | 'use strict';
|
|---|
| 2 |
|
|---|
| 3 | /**
|
|---|
| 4 | * @type {import('postcss').PluginCreator<void>}
|
|---|
| 5 | * @return {import('postcss').Plugin}
|
|---|
| 6 | */
|
|---|
| 7 | function pluginCreator() {
|
|---|
| 8 | return {
|
|---|
| 9 | postcssPlugin: 'cssnano-util-raw-cache',
|
|---|
| 10 | /**
|
|---|
| 11 | * @param {import('postcss').Root} css
|
|---|
| 12 | * @param {{result: import('postcss').Result & {root: {rawCache?: any}}}} arg
|
|---|
| 13 | */
|
|---|
| 14 | OnceExit(css, { result }) {
|
|---|
| 15 | result.root.rawCache = {
|
|---|
| 16 | colon: ':',
|
|---|
| 17 | indent: '',
|
|---|
| 18 | beforeDecl: '',
|
|---|
| 19 | beforeRule: '',
|
|---|
| 20 | beforeOpen: '',
|
|---|
| 21 | beforeClose: '',
|
|---|
| 22 | beforeComment: '',
|
|---|
| 23 | after: '',
|
|---|
| 24 | emptyBody: '',
|
|---|
| 25 | commentLeft: '',
|
|---|
| 26 | commentRight: '',
|
|---|
| 27 | };
|
|---|
| 28 | },
|
|---|
| 29 | };
|
|---|
| 30 | }
|
|---|
| 31 |
|
|---|
| 32 | pluginCreator.postcss = true;
|
|---|
| 33 |
|
|---|
| 34 | module.exports = pluginCreator;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.