Make images smaller using best-in-class codecs, right in the browser.
JavaScript
Not entirely sure why this causes dev to fail, but this fixes it.
Jake Archibald2ca97ef5866f
diff --git a/webpack.config.js b/webpack.config.jsindex 54c51907..af32778c 100644--- a/webpack.config.js+++ b/webpack.config.js@@ -226,7 +226,7 @@ module.exports = function (_, env) {// For now we're not doing SSR.new HtmlPlugin({filename: path.join(__dirname, 'build/index.html'),- template: '!!prerender-loader?string!src/index.html',+ template: isProd ? '!!prerender-loader?string!src/index.html' : 'src/index.html',minify: isProd && {collapseWhitespace: true,removeScriptTypeAttributes: true,