webpack/examples/asset-svg-data-uri/template.md

400 B

This example shows the usage of the asset module type with asset generator options customization.

Files can be imported similar to other modules without file-loader or url-loader.

example.js

_{{example.js}}_

webpack.config.js

_{{webpack.config.js}}_

js/output.js

_{{dist/output.js}}_

Info

webpack output

_{{stdout}}_