shellscape / webpack-manifest-plugin

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

basePath should only be used to update the key #69

Closed mastilver closed 7 years ago

mastilver commented 7 years ago
{
  context: __dirname,
  entry: {
    one: './fixtures/file.js',
  },
  output: {
    filename: '[name].js'
  },
  plugins: [
    new ManifestPlugin({
      basePath: '/app/'
    })
  ]
}

Actual:

{
  '/app/one.js': '/app/one.js'
}

Expected:

{
  '/app/one.js': 'one.js'
}

cc @weaverryan