@fullhuman/postcss-purgecss 7.0.1-alpha.0 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as path from 'path';
|
|
2
|
-
import { PurgeCSS,
|
|
2
|
+
import { PurgeCSS, standardizeSafelist, defaultOptions, mergeExtractorSelectors } from 'purgecss';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* PostCSS Plugin for PurgeCSS
|
|
@@ -86,4 +86,4 @@ const purgeCSSPlugin = function (opts) {
|
|
|
86
86
|
};
|
|
87
87
|
purgeCSSPlugin.postcss = true;
|
|
88
88
|
|
|
89
|
-
export { purgeCSSPlugin as default
|
|
89
|
+
export { purgeCSSPlugin as default };
|
package/lib/postcss-purgecss.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
var path = require('path');
|
|
6
4
|
var purgecss = require('purgecss');
|
|
7
5
|
|
|
@@ -109,5 +107,4 @@ const purgeCSSPlugin = function (opts) {
|
|
|
109
107
|
};
|
|
110
108
|
purgeCSSPlugin.postcss = true;
|
|
111
109
|
|
|
112
|
-
exports
|
|
113
|
-
exports.purgeCSSPlugin = purgeCSSPlugin;
|
|
110
|
+
module.exports = purgeCSSPlugin;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fullhuman/postcss-purgecss",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "PostCSS plugin for PurgeCSS",
|
|
5
5
|
"author": "FoundrySH <no-reply@foundry.sh>",
|
|
6
6
|
"homepage": "https://purgecss.com",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"url": "https://github.com/FullHuman/purgecss/issues"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"purgecss": "^
|
|
30
|
+
"purgecss": "^8.0.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"postcss": "^8.4.47"
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"access": "public",
|
|
40
40
|
"registry": "https://registry.npmjs.org/"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "9269dbc8b589832bab90d29f5821fc4cf55077d6"
|
|
43
43
|
}
|