webpack-chain icon indicating copy to clipboard operation
webpack-chain copied to clipboard

Add clearer documentation for rule.exclude

Open eliperelman opened this issue 6 years ago • 2 comments

In neutrinojs/neutrino#1150 there was confusion about the API of rule.exclude.

We should probably add clearer documentation about it to the README here :-)

(Edited by @edmorley to make it clearer that this is a documentation issue not a bug)

eliperelman avatar Sep 28 '18 15:09 eliperelman

use console.log(JSON.stringify(config.toConfig())); Cannot print reg

homeant avatar Oct 04 '18 05:10 homeant

Hi @homeant, this issue is about adding documentation for the rule.exclude feature, whereas that seems unrelated? Generally it's best to keep issues to just one topic. It sounds like you're after toString() - see: https://github.com/neutrinojs/webpack-chain#inspecting-generated-configuration

edmorley avatar Oct 04 '18 12:10 edmorley