mirror of
https://github.com/status-im/status-web.git
synced 2025-02-22 17:28:27 +00:00
17 lines
534 B
JavaScript
17 lines
534 B
JavaScript
|
// The only reason this file exists is to appease Vite's optimizeDeps feature which requires a root-level import.
|
||
|
|
||
|
export default new Proxy(
|
||
|
{},
|
||
|
{
|
||
|
get: (_, property) => {
|
||
|
if (property === '__esModule') {
|
||
|
return {}
|
||
|
}
|
||
|
|
||
|
throw new Error(
|
||
|
`Importing from \`@status-im/icons\` directly is not supported. Please import from either \`@status-im/icons/12\`, \`@status-im/icons/16\`, \`@status-im/icons/20\`, \`@status-im/icons/reactions\` or \`@status-im/icons/social\` instead.`
|
||
|
)
|
||
|
},
|
||
|
}
|
||
|
)
|