Closed lichnow closed 6 years ago
Looks like a bug... I will try to have a look tomorrow
Which version are you using? If you can provide a failing test that would be awesome
@mastilver version is ^1.3.2,my option
new ManifestPlugin({
filter: chunk => chunk.isInitial
})
solve it
manifestOpts.generate = (seed, files) => files.reduce(
(manifest, file) => {
let fileName = _.last(_.split(_.last(_.split(file.name,'/')),'.')) + '/' + file.name
let filePath = _.replace(file.path, config.output.publicPath,'')
manifest[fileName] = filePath
return manifest;
},
seed
)
My webpack js output config
and extracttext plugin
but manifest.json
the right manifest.json content should be
what's wrong and how can solve it ,thx