Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

Bug of fileBlacklist shadow merge #120

Open
yinsang opened this issue Jul 9, 2020 · 0 comments
Open

Bug of fileBlacklist shadow merge #120

yinsang opened this issue Jul 9, 2020 · 0 comments

Comments

@yinsang
Copy link

yinsang commented Jul 9, 2020

When using the fileBlacklist of options, it will cover the default option([/.map/]).
Wish:
fileBlacklist:[/userIgnore\.js/, /\.map/]
Actually
fileBlacklist: [/userIgnore\.js/]
I wonder if it‘s a Bug or design of this shadow merge?

class PreloadPlugin {
  constructor(options) {
    this.options = Object.assign({}, defaultOptions, options);
  }
}
@yinsang yinsang changed the title Bug of fileBlacklist deep merge Bug of fileBlacklist shadow merge Jul 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant