Webpack configuration.resolve has an unknown property ‘packageMains’
This error happens when you try to run a Webpack v1 config file with Webpack v2+.
In order to fix it change the attribute name of
resolve.mainFields inside your webpack configuration file.
Webpack v1 resolve.packageMains documentation
Webpack v2 resolve.mainFields documentation
No comments yet.