Open ghost opened 1 year ago
My Component
/**
*
* @component
*/
const SelectOption = () => {
return (
<>
...
</>
)
} export {SelectOption}
The error:
Error: Command failed: NODE_ENV=development parcel build docs/entry.js --dist-dir docs/build
@parcel/core: src/SelectOption.tsx does not export 'default'
/Users/mac/react-proyect/docs/entry.js:25:10
24 |
> 25 | import Component0 from '../src/SelectOption.tsx';
> | ^^^^^^^^^^
26 | reactComponents['SelectOption'] = Component0;
Having the same issue here, any help would be appreciated.
Same here, any ideas?
I'm not using a default export for my components. Is there a way to generate documentation omitting this rule?