Skip to content

Compress.json or Compress.js #384

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: []
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions