Skip to content

With code splitting, chunkhash of app.js doesn't change when the required js has changed. #1181

@jiangfengming

Description

@jiangfengming

app.js

require.ensure(['./controllers/a'], function(require) {
  var a = require('./controllers/a');
  console.log(a);
});

controllers/a.js

module.exports = 'a';

Changing a.js doesn't change the chunkhash of app.js.

https://github.com/fenivana/webpack-chunkhash-issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions