kentcdodds / webpack-validator-DEPRECATED

Use this to save yourself some time when working on a webpack configuration.
MIT License
93 stars 8 forks source link

Warns about webpack-hot-middleware #6

Closed sapegin closed 8 years ago

sapegin commented 8 years ago

In Webpack config:

entry: [
    'webpack-hot-middleware/client',
    path.join(__dirname, 'index');
],

Validation result:

entry: no file exists at /Users/tema/Dropbox/Projects/_Repos/react-styleguidist/webpack-hot-middleware/client - no file exists at /Users/tema/Dropbox/Projects/_Repos/react-styleguidist/src/index
kentcdodds commented 8 years ago

Hi @sapegin! Thanks for your interest in the project. This is a duplicate of #3...

I think that the real solution is to still check for the existence of a resolvable file, but only if the entry filename doesn't contain a query string or webpack-hot-middleware do you think that would cover all cases?

kentcdodds commented 8 years ago

Let's move discussion over to #3. Thanks!