mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-14 09:39:15 +00:00
Only extract the inline javascript for production mode
This commit is contained in:
@@ -259,7 +259,7 @@ module.exports = async function (_, env) {
|
|||||||
filename: '_redirects',
|
filename: '_redirects',
|
||||||
}),
|
}),
|
||||||
|
|
||||||
new ScriptExtHtmlPlugin({
|
isProd && new ScriptExtHtmlPlugin({
|
||||||
inline: ['first']
|
inline: ['first']
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user