Skip to content

updated readme to include options sections and example#19

Open
rob-moore wants to merge 1 commit intopurifycss:masterfrom
rob-moore:master
Open

updated readme to include options sections and example#19
rob-moore wants to merge 1 commit intopurifycss:masterfrom
rob-moore:master

Conversation

@rob-moore
Copy link

I made the readme a little more verbose when it comes to specifying all the options that are available to purifycss.

I took the verbiage from the purifycss readme and updated the example usage in the readme.

@albertvolkman
Copy link

Are you able to get the options to work? I'm doing this and the file does not get minimized-

.pipe(purify(['./index.html']), {
  minify: true,
})

@craftedsystems
Copy link

@albertvolkman you need to place the options object inside the round brackets.

.pipe(purify(['./index.html'], {    
  minify: true,     
}))

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants