mobile: fix color picker wheel images not loaded

This commit is contained in:
Ammar Ahmed
2025-12-23 13:57:57 +05:00
parent 09b12c6d7e
commit a829594fad

View File

@@ -155,39 +155,8 @@ module.exports = (env) => {
type: "javascript/auto"
},
...Repack.getAssetTransformRules({
inline: true
}),
/**
* This loader handles all static assets (images, video, audio and others), so that you can
* use (reference) them inside your application.
*
* If you wan to handle specific asset type manually, filter out the extension
* from `ASSET_EXTENSIONS`, for example:
* ```
* Repack.ASSET_EXTENSIONS.filter((ext) => ext !== 'svg')
* ```
*/
{
test: Repack.getAssetExtensionsRegExp(
Repack.ASSET_EXTENSIONS.filter((ext) => ext !== "svg")
),
use: {
loader: "@callstack/repack/assets-loader"
}
},
{
test: /\.svg$/,
use: [
{
loader: "@svgr/webpack",
options: {
native: true,
dimensions: false
}
}
]
}
inline: false
})
]
},
plugins: [