-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
Description
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 bundleIt 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.