5/26/2023 0 Comments Electron npm![]() Previously achievable by using url-loader. asset/inline exports a data URI of the asset.Previously achievable by using file-loader. asset/resource emits a separate file and exports the URL.file-loader to emit a file into the output directoryĪsset Modules type replaces all of these loaders by adding 4 new module types:.url-loader to inline a file into the bundle as a data URI.raw-loader to import a file as a string. ![]() Asset Modules is a type of module that allows one to use asset files (fonts, icons, etc) without configuring additional loaders.
0 Comments
Leave a Reply. |