Open bebraw opened 8 years ago
Webpack will fail rather messily if you have an entry configuration like this:
{ app: path.join(__dirname, 'app'), style: [ path.join(__dirname, 'app') ],
This leads to
Error: module cannot be added as entry point, because it's already in the bundle
It would be a very good idea to check against this as it can be hard to notice and it's one of those checks we can make.
It would be possible to do something similar against the source too but that would be far harder to pull off and goes beyond the scope of this issue.
Webpack will fail rather messily if you have an entry configuration like this:
This leads to
It would be a very good idea to check against this as it can be hard to notice and it's one of those checks we can make.
It would be possible to do something similar against the source too but that would be far harder to pull off and goes beyond the scope of this issue.