@heroicons/react
Version:
17 lines (14 loc) • 496 B
JavaScript
// The only reason this file exists is to appease Vite's optimizeDeps feature which requires a root-level import.
module.exports = new Proxy(
{},
{
get: (_, property) => {
if (property === '__esModule') {
return {}
}
throw new Error(
`Importing from \`/react\` directly is not supported. Please import from either \`/react/20/solid\`, \`/react/24/solid\`, or \`/react/24/outline\` instead.`
)
},
}
)