The generated plugin.json still contains deprecated properties. Please run npx @grafana/create-plugin@latest update (and later npm install) to update that. Note that will also delete your manual changes here. To make a persistent change to the webpack configuration, see this guide.