🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
17 lines
377 B
JavaScript
17 lines
377 B
JavaScript
let proxy = new Proxy(
|
|
{},
|
|
{
|
|
get: (obj, property) => {
|
|
if (property === '__esModule') {
|
|
return {}
|
|
}
|
|
|
|
throw new Error(
|
|
`You\'re trying to import \`@heroicons/react/solid/${property}\` from Heroicons v1 but have installed Heroicons v2. Install \`@heroicons/react@v1\` to resolve this error.`
|
|
)
|
|
},
|
|
}
|
|
)
|
|
|
|
module.exports = proxy
|