MCPcopy Index your code
hub / github.com/purifycss/purifycss / getOptions

Function getOptions

src/purifycss.js:18–24  ·  view source on GitHub ↗
(options = {})

Source from the content-addressed store, hash-verified

16}
17
18const getOptions = (options = {}) => {
19 let opt = {}
20 for (let option in OPTIONS) {
21 opt[option] = options[option] || OPTIONS[option]
22 }
23 return opt
24}
25
26
27const minify = (cssSource, options) =>

Callers 1

purifyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected