Commit Graph

20 Commits

Author SHA1 Message Date
Jason Miller
e0c59577a4 Lint webpack config, and only preload initial chunks 2018-04-17 14:07:22 -04:00
Jason Miller
3ba0a5a22a Adds single-pass prerendering via a new prerender-loader 2018-04-17 14:04:55 -04:00
Jason Miller
be8fae10f8 Critters: move to async/await (fixes #16), add critical font inlining / preloading 2018-04-17 13:57:48 -04:00
Jason Miller
919a259b0a Add option to make async leave a rel="preload" in the header and append a <link rel="stylesheet"> to the end of body. 2018-04-05 12:41:19 -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
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
5e6500d196 Use strict TypeScript, enable TSLint, update all types to work in strict mode. 2018-03-29 15:42:07 -04:00
Jason Miller
9977e5b8c6 add note about filter(Boolean) 2018-03-29 10:21:56 -04:00
Jason Miller
e347cbe413 Remove commented-out Webpack config and add explanatory comments to anything vague 2018-03-29 10:17:33 -04:00
Jason Miller
e0a10cf334 Drop custom preact alias 2018-03-29 10:15:13 -04:00
Jason Miller
83a0bd16dd infer NODE_ENV from isProd 2018-03-27 20:52:30 -04:00
Jason Miller
720a11ccd3 Error out if required (json) configs are missing/corrupted. 2018-03-27 20:50:58 -04:00
Jason Miller
a5e2952e8c Get rid of DeprecationWarning output filter 2018-03-27 20:48:57 -04:00
Jason Miller
465d043502 let -> const 2018-03-27 20:37:25 -04:00
Jason Miller
cd4fd07519 Remove modules babelrc option 2018-03-27 20:34:36 -04:00
Jason Miller
49c67baa0b Add progress bar and bundle analyzer (http://localhost:8080/report.html) to webpack config. 2018-03-13 12:52:26 -04:00
Jason Miller
e691ec9580 Adds an app skeleton. Still needs some work. 2018-03-12 23:03:31 -04:00
Jason Miller
619080f85a Webpack@4 + mini-css-extract-plugin 2018-03-09 14:17:36 -05:00