Commit Graph

14 Commits

Author SHA1 Message Date
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
Jason Miller
34c47242a9 Don't strip :hover, :focus or :active rules. 2018-04-03 09:21:47 -04:00
Jason Miller
8e6a48b94d let -> const 2018-04-03 08:52:53 -04:00
Jason Miller
20757d9177 Remove commented-out code. 2018-04-02 22:52:30 -04:00
Jason Miller
7bf2ba4690 Initial version of webpack-inline-critical-css-plugin 2018-04-02 22:51:01 -04:00
Jason Miller
1dd0366c05 Fix broken sourcemaps in the TypeScript+Babel setup, clean up webpack config, drop threaded type checking (couldn't get it working) 2018-03-30 16:25:20 -04:00
Jason Miller
76ceea0e52 tabs -> spaces 2018-03-29 15:43:14 -04:00
Jason Miller
e501ffff85 Object.keys().forEach() --> for..of 2018-03-27 20:47:38 -04:00
Jason Miller
2ff3de518d Remove support for Webpack 3.x and prior from WatchTimestampsPlugin. 2018-03-27 20:45:58 -04:00
Jason Miller
7fca9ac85f Add explanation and credit to WatchTimestampsPlugin. 2018-03-27 20:43:12 -04:00
Jason Miller
ccf71556a6 Use classes for webpack plugins. 2018-03-27 20:39:13 -04:00
Jason Miller
e691ec9580 Adds an app skeleton. Still needs some work. 2018-03-12 23:03:31 -04:00