shellscape / webpack-manifest-plugin

webpack plugin for generating asset manifests
MIT License
1.44k stars 184 forks source link

Bug with [name].js?[hash], manifest unusable #9

Closed iliakan closed 8 years ago

iliakan commented 9 years ago

The manifest data is unusable when the hash goes after ?.

That's the project: https://gist.github.com/5f4fa1d2950167708154

Notably:

  output: {
    filename:   '[name].build.js?[hash]'
  }

Here's the manifest:

{
  "about.js?6f12aee9e07f7c6f6c73": "about.build.js?6f12aee9e07f7c6f6c73",
  "home.js?6f12aee9e07f7c6f6c73": "home.build.js?6f12aee9e07f7c6f6c73"
}

Awaited:

{
  "about.js": "about.build.js?6f12aee9e07f7c6f6c73",
  "home.js": "home.build.js?6f12aee9e07f7c6f6c73"
}