I've been trying to pass args from command line to webpack plugin.
I can access the args via process.argv but after that wwebpack fails with error:
ERROR in Entry module not found: Error: Cannot resolve module
It seems that webpack treats the args as folders it needs to find.
This is how I pass the args:
Saw two ways of doing this: