How to preload Google Fonts from CDN with webpack
问题 My goal is importing fonts by @import url('https://fonts.googleapis.com/css?family=Poppins:i,100,200,300); in my .scss file, then preload all the fonts by preload-webpack-plugin After I deploy my bundle, the google fonts is applied, and the fonts request is like this: Compare to the request utilizing @font-face in the .scss file, get the fonts which I download to local then serve by myself: Only the file name of second one follows the name I defined in file-loader configuration: exports.font