@jinshuju/field-icons-react
Version:
First, install `@jinshuju/field-icons-react` from npm:
17 lines (14 loc) • 580 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 \`@jinshuju/field-icons-react\` directly is not supported. Please import from either \`@jinshuju/field-icons-react/16/solid\`, \`@jinshuju/field-icons-react/20/solid\`, \`@jinshuju/field-icons-react/24/solid\`, or \`@jinshuju/field-icons-react/24/outline\` instead.`
)
},
}
)