This adds url-loader to our webpack config to support importing static assets such as images and fonts. These assets will be inlined as data URIs as we only support a single chunk to be emitted.
This makes us more compatible with 3rd party libraries, such as Mapillary that uses url() statements in their CSS to reference relative SVGs in their package.
This adds
url-loader
to our webpack config to support importing static assets such as images and fonts. These assets will be inlined as data URIs as we only support a single chunk to be emitted.This makes us more compatible with 3rd party libraries, such as Mapillary that uses
url()
statements in their CSS to reference relative SVGs in their package.