Webpack configuration.resolve has an unknown property ‘packageMains’
Hello,
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.packageMains
to resolve.mainFields
inside your webpack configuration file.
Documentation:
Webpack v1 resolve.packageMains documentation
Webpack v2 resolve.mainFields documentation
No comments yet.