Skip to content

Compress.json or Compress.js #384

@NikolaRHristov

Description

@NikolaRHristov

Be able to load the configuration in:

https://github.com/PlayForm/Compress/blob/Current/Source/Variable/Option.ts

const {
Path,
Cache,
Logger,
Map: _Map,
Exclude,
Action,
CSS,
HTML,
Image,
JavaScript,
SVG,
Parser,
} = Merge(Default, _Option);

from a Compress.json file like so:

{
  "Action": {},
  "Cache": false,
  "CSS": {},
  "Exclude": []
}

or a Compress.js file since the actions have to be defined in JavaScript.

{
  Action: {},
  Cache: false,
  CSS: {},
  Exclude: []
}

Metadata

Metadata

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions