preload-webpack-plugin icon indicating copy to clipboard operation
preload-webpack-plugin copied to clipboard

Bug of fileBlacklist shadow merge

Open yinsang opened this issue 5 years ago • 0 comments

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 avatar Jul 09 '20 09:07 yinsang