I'm starting with Webpack and I'm learning how to tweak Config of it, and I saw some of the documentation dealing with Resolve.extentions
, you can hide the extensions. But it came to my mind: In my imports I put for example:
import 'jquery/dist/jquery.min.js'
In this case now I only put:
import 'jquery/dist/jquery'
And it works fine. Beauty. But it is catching .js
, not the mined file. Does it make any difference in terms of performance to get .js
or .min.js
? How does Webpack handle this type of file? Do you have to put some Priority for it to get the .min.js
first?