Commit Graph

7 Commits

Author SHA1 Message Date
Jason Miller
da616a3611 Add more explanatory comments 2018-04-03 16:58:53 -04:00
Jason Miller
e1e452e5e3 Hoist embedLinkedStylesheet() onto the class 2018-04-03 16:57:55 -04:00
Jason Miller
b15ed20001 Remove cssnano-powered minify option, add compress option (defaults to true) 2018-04-03 16:56:53 -04:00
Jason Miller
e14502929b Use util.promisify 2018-04-03 16:56:04 -04:00
Jason Miller
f49bcbae87 add note about cssnano not being of much use 2018-04-03 10:58:29 -04:00
Jason Miller
306fecee7c Use modern JS features, add lots of comments. 2018-04-03 10:50:00 -04:00
Jason Miller
0066e20315 - Rename to critters-webpack-plugin
- Format output using pretty-bytes
- Insert inlined style tags immediately after their source link tags
- Add option to turn off external stylesheet processing
- Add `async` option that converts critical'd external sheets to `<link rel="preload" as="style" onload="this.rel='stylesheet'">`
2018-04-03 10:00:41 -04:00