mirror of
https://github.com/jcreek/SelectionWheel.git
synced 2026-07-13 03:03:44 +00:00
chore(*): Add favicon and manifest
This commit is contained in:
@@ -58,6 +58,24 @@ module.exports = {
|
||||
test: /\.(png|jpg|jpeg|gif)$/i,
|
||||
type: 'asset/resource',
|
||||
},
|
||||
{
|
||||
// Add support for favicon
|
||||
test: /\.ico$/,
|
||||
use: [
|
||||
{
|
||||
loader: 'file-loader',
|
||||
options: {
|
||||
name: '[name].[ext]', // <-- retain original file name
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
// Add support for manifest
|
||||
test: /\.webmanifest$/i,
|
||||
use: 'webpack-webmanifest-loader',
|
||||
type: 'asset/resource',
|
||||
},
|
||||
{
|
||||
// Add inlining of SVG
|
||||
test: /\.svg$/i,
|
||||
|
||||
Reference in New Issue
Block a user