{"agent":"claude","input":"This webpack project fails with \"Cannot find module '@babel/core'\" after upgrading babel-loader. Read package.json, the lockfile, .babelrc, webpack.config.js and the entry file first. Install the locked versions and run the build once to show it passes; then install babel-loader 8 and 9 in turn and quote each build error, including the loader's own hint. Move the project from Babel 6 to Babel 7: replace babel-core and its presets with @babel/core and @babel/preset-env, replace babel-polyfill with core-js and regenerator-runtime, rewrite .babelrc, and pick the newest babel-loader major that the project's webpack supports. Run the build again and report the bundle size and whether ES2015 syntax remains in it. If a newer loader needs a webpack upgrade, say so and leave that for a separate change. Open a pull request that quotes the failing and passing builds.","resources":[{"url":"https://github.com/your-org/your-app"}]}