Skip to content

Build adding missing file name in chunk.app  #280

@arslanhashmi

Description

@arslanhashmi

Getting this error in django while running with DEBUG=False

asset = assets['assets'][chunk]
KeyError: 'css/app.fb0c6e1c.css.map'

This is because build is creating these values in webpack-stats.json:

"status": "done",
  "chunks": {
    "app": [
      "js/chunk-vendors.098df656.js",
      "js/chunk-vendors.098df656.js.map",
      "css/app.fb0c6e1c.css",
      "js/app.c80bf319.js",
      "css/app.fb0c6e1c.css.map",
      "js/app.c80bf319.js.map"
    ]
  },

Out of the above file: css/app.fb0c6e1c.css.map doesn't actually exist.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions