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

Entry > Vendors not finding npm package? #10

Closed 0cv closed 8 years ago

0cv commented 8 years ago

I have a config listing vendors, similar to the example shown on the page: https://webpack.github.io/docs/code-splitting.html with simply the name of the npm modules listed like here:

entry: {
    vendor: ["jquery", "underscore", ...],
},..

However, I get a validation error, that entry: no file exists at .........../jquery for example. Indeed, it doesn't consider that jquery is a npm module and look simply at the root of my project whether it exists a jquery.js file.

kentcdodds commented 8 years ago

Hi @Krisa!

Thanks for your interest in the project. This is still in beta so I appreciate your patience. This is a duplicate of #3, so I'll go ahead and close it.