diff --git a/webpack.config.js b/webpack.config.js index ccee4375..a53e1763 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -256,7 +256,7 @@ module.exports = async function(_, env) { filename: '_redirects', }), - new ScriptExtHtmlPlugin({ + isProd && new ScriptExtHtmlPlugin({ inline: ['first'] }),