beefast-website/node_modules/@heroicons/vue/index.js
2025-01-09 13:32:29 +08:00

17 lines
517 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 \`@heroicons/vue\` directly is not supported. Please import from either \`@heroicons/vue/16/solid\`, \`@heroicons/vue/20/solid\`, \`@heroicons/vue/24/solid\`, or \`@heroicons/vue/24/outline\` instead.`
)
},
}
)