mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-02-02 11:32:30 -06:00
16 lines
379 B
JavaScript
16 lines
379 B
JavaScript
let proxy = new Proxy(
|
|
{},
|
|
{
|
|
get: (obj, property) => {
|
|
if (property === '__esModule') {
|
|
return {}
|
|
}
|
|
|
|
throw new Error(
|
|
`You\'re trying to import \`@heroicons/react/outline/${property}\` from Heroicons v1 but have installed Heroicons v2. Install \`@heroicons/react@v1\` to resolve this error.`
|
|
)
|
|
},
|
|
}
|
|
)
|
|
|
|
module.exports = proxy
|