4.4.7-alpha.9 • Published 3 years ago

@mrbuilder/plugin-filetypes v4.4.7-alpha.9

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

This plugin provides basic file-loader support to webpack The configuration is

*Note: svg is loaded by the mrbuilder-plugin-fonts. Fonts require some special header to load correctly in some browsers. If you add svg here and do not remove it from mrbuilder-plugin-fonts configuration, they will probably not work.

  test = /\.(png|je?pg|gif?f|bmp|ppm|bpg|mpe?g)$/,
  loader = 'file-loader',
  limit = 1000,
PropertyTypeDefaultDescription
testregex/.(pngje?pggif?fbmpppmbpgmpe?g)$/Which files to use file loader
loaderstringfile-loaderwhat loader to use
optionsobject{}options see file-loader docs