CSS

PHOTO EMBED

Thu Oct 07 2021 09:01:24 GMT+0000 (UTC)

Saved by @GoodRequest. #react

if (process.env.NODE_ENV == 'production') {
	config.plugins = [
		...config.plugins,
		new HtmlCriticalWebpackPlugin({
			base: path.resolve(__dirname, 'build'),
			src: 'index.html',
			dest: 'index.html',
			inline: true,
			minify: true,
			extract: true,
			width: 320,
			height: 565,
			penthouse: {
				blockJSRequests: false
			},
		})
	]
}
content_copyCOPY