purgetss 5.3.2 → 5.3.3
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.
- package/bin/purgetss +2 -1
- package/dist/tailwind.tss +469 -469
- package/index.js +16 -11
- package/lib/helpers.js +1209 -1452
- package/package.json +1 -1
package/bin/purgetss
CHANGED
|
@@ -18,6 +18,7 @@ program
|
|
|
18
18
|
.description(package.description + '\n\nPlease visit ' + chalk.yellow('https://github.com/macCesar/purgeTSS') + ' for details.')
|
|
19
19
|
.help('PurgeTSS will create a clean app.tss file by copying only the classes used in your XML Files.\n\nIt works with tailwind.tss, fontawesome.tss, materialdesignicons.tss, framework7icons.tss.\n\nALL your classes from your original app.tss file will be copied over without purging.\n\nYou can create your own custom classes and values by running `purgetss init` and `purgetss build`.')
|
|
20
20
|
.option('-d, --debug', 'Show time taken to execute each process.')
|
|
21
|
+
.option('-a, --all', 'Run all processes. purgetss build-fonts, purgetss build and purgetss')
|
|
21
22
|
.action((args, options, logger) => {
|
|
22
23
|
purgetss.purgeClasses(options);
|
|
23
24
|
});
|
|
@@ -28,7 +29,7 @@ program
|
|
|
28
29
|
.description('Create a `config.js` file for your project.')
|
|
29
30
|
.help('Creates a minimal `./purgetss/config.js` file at the root of your project.')
|
|
30
31
|
.action((args, options, logger) => {
|
|
31
|
-
purgetss.init();
|
|
32
|
+
purgetss.init(options);
|
|
32
33
|
});
|
|
33
34
|
|
|
34
35
|
program
|