Tag:webpack
Article From:https://segmentfault.com/q/1010000012147967
Question:

Today, the company found a very strange problem, using the webpack url-loader loader packaging picture resources, using limit parameters to limit the size of the picture, less than automatically enable Base64 coded images, we restrict 10KB, but sometimes 10 points KThe pictures of B will also be converted into Base64 encoded pictures, but sometimes they will not. Which partner knows why?

Answer 0:

It is normal to calculate a point error.1024 * n

Similar Posts:

Link of this Article: Webpack picture packaging problem

Leave a Reply

Your email address will not be published. Required fields are marked *