mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-06-30 22:46:39 -04:00
automatically inline critical css via critters (#760)
This commit is contained in:
@ -28,6 +28,10 @@ module.exports = (phase, { defaultConfig }) => {
|
||||
images: {
|
||||
deviceSizes: [640, 750, 828, 1080, 1200, 1920],
|
||||
},
|
||||
experimental: {
|
||||
// use critters to automatically inline critical css:
|
||||
optimizeCss: true,
|
||||
},
|
||||
webpack: (config) => {
|
||||
config.module.rules.push({
|
||||
test: /\.svg$/,
|
||||
|
Reference in New Issue
Block a user