Big file blocking deployment cms.7139f.js (4.46 MiB)

I have a build error because of a big js file (cms.7139f.js (4.46 MiB)), but I cannot find the file on my local repo.

11:54:28 AM: ────────────────────────────────────────────────────────────────
11:54:28 AM: Netlify Build
11:54:28 AM: ────────────────────────────────────────────────────────────────
11:54:28 AM: ​
11:54:28 AM: ❯ Version
11:54:28 AM: @netlify/build 9.1.2
11:54:28 AM: ​
11:54:28 AM: ❯ Flags
11:54:28 AM: deployId: 602d03dab71ace0008d70ae1
11:54:28 AM: mode: buildbot
11:54:28 AM: ​
11:54:28 AM: ❯ Current directory
11:54:28 AM: /opt/build/repo
11:54:28 AM: ​
11:54:28 AM: ❯ Config file
11:54:28 AM: /opt/build/repo/netlify.toml
11:54:28 AM: ​
11:54:28 AM: ❯ Context
11:54:28 AM: production
11:54:28 AM: ​
11:54:28 AM: ────────────────────────────────────────────────────────────────
11:54:28 AM: 1. build.command from netlify.toml
11:54:28 AM: ────────────────────────────────────────────────────────────────
11:54:28 AM: ​
11:54:28 AM: yarn build 11:54:28 AM: yarn run v1.12.1 11:54:28 AM: rimraf dist
11:54:28 AM: $ npm run build:webpack && npm run build:hugo
11:54:28 AM: npm WARN lifecycle The node binary used for scripts is /tmp/yarn–1613562868446-0.4902036007425772/node but npm is using /opt/buildhome/.nvm/versions/node/v12.20.2/bin/node itself. Use the --scripts-prepend-node-path option to include the path for the node binary npm was executed with.
11:54:28 AM: > victor-hugo@1.0.0 build:webpack /opt/build/repo
11:54:28 AM: > cross-env NODE_ENV=production webpack --config webpack.prod.js
11:54:40 AM: Hash: 7139f7d4944c10d4c3fe
11:54:40 AM: Version: webpack 4.46.0
11:54:40 AM: Time: 10432ms
11:54:40 AM: Built at: 02/17/2021 11:54:40 AM
11:54:40 AM: Asset Size Chunks Chunk Names
11:54:40 AM: admin/index.html 328 bytes [emitted]
11:54:40 AM: cms.7139f.js 4.46 MiB 0 [emitted] [immutable] [big] cms
11:54:40 AM: cms.7139f.js.LICENSE.txt 4.5 KiB [emitted]
11:54:40 AM: fonts/.keep 0 bytes [emitted]
11:54:40 AM: main.7139f.css 84 KiB 1 [emitted] [immutable] main
11:54:40 AM: main.7139f.js 3.74 KiB 1 [emitted] [immutable] main
11:54:40 AM: Entrypoint main = main.7139f.css main.7139f.js
11:54:40 AM: Entrypoint cms [big] = cms.7139f.js
11:54:40 AM: [8] ./node_modules/to-string-loader/src/to-string.js!./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src!./node_modules/sass-loader/dist/cjs.js!./src/css/main.css 338 bytes {0} [built]
11:54:40 AM: [9] ./src/index.js 122 bytes {1} [built]
11:54:40 AM: [10] ./src/css/main.css 672 bytes {1} [built]
11:54:40 AM: [12] ./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src!./node_modules/sass-loader/dist/cjs.js!./src/css/main.css 39 bytes {1} [built]
11:54:40 AM: [15] (webpack)/buildin/global.js 472 bytes {0} [built]
11:54:40 AM: [23] ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src!./node_modules/sass-loader/dist/cjs.js!./src/css/main.css 85.9 KiB {0} [built]
11:54:40 AM: [39] ./src/js/cms.js + 6 modules 35 KiB {0} [built]
11:54:40 AM: | ./src/js/cms.js 860 bytes [built]
11:54:40 AM: | ./src/js/cms-preview-templates/home.js 6.62 KiB [built]
11:54:40 AM: | ./src/js/cms-preview-templates/post.js 4.36 KiB [built]
11:54:40 AM: | ./src/js/cms-preview-templates/products.js 8.63 KiB [built]
11:54:40 AM: | ./src/js/cms-preview-templates/values.js 5.37 KiB [built]
11:54:40 AM: | ./src/js/cms-preview-templates/contact.js 4.8 KiB [built]
11:54:40 AM: | + 1 hidden module
11:54:40 AM: + 34 hidden modules
11:54:40 AM: WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
11:54:40 AM: This can impact web performance.
11:54:40 AM: Assets:
11:54:40 AM: cms.7139f.js (4.46 MiB)
11:54:40 AM: WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
11:54:40 AM: Entrypoints:
11:54:40 AM: cms (4.46 MiB)
11:54:40 AM: cms.7139f.js
11:54:40 AM:
11:54:40 AM: WARNING in webpack performance recommendations:
11:54:40 AM: You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
11:54:40 AM: For more info visit Code Splitting | webpack

This seems like a warning and not something that will cause a build to fail.

Yup, that’s just webpack giving you a heads-up. If your build is failing, it’s most likely caused by something else.