browserconfig-loader
v0.0.0
Published
Web app browserconfig.xml loader for webpack
Downloads
2
Readme
Browserconfig Loader
Load images referenced in the
tile
field in your Browser configuration using webpack.
Usage
This loader is most helpful when used together with the extract-loader
and file-loader
:
module: {
rules: [
{
test: /browserconfig.xml$/,
use: [
{
loader: 'file-loader',
options: { name: 'static/media/[name].[hash:8].[ext]' }
},
{
loader: 'extract-loader',
options: { publicPath: paths.appPublic }
},
'browserconfig-loader'
]
}
]
}