Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default exports #114

Open
rgieseke opened this issue Jul 17, 2023 · 1 comment
Open

Default exports #114

rgieseke opened this issue Jul 17, 2023 · 1 comment

Comments

@rgieseke
Copy link

One of the errors I got in mhkeller/layercake#142 was

layercake/src/routes/components/[slug].json/+server.js:3:10
Error: Module '"indian-ocean"' has no exported member 'readdirFilterSync'. 
import { readFileSync, existsSync } from 'fs';
import { readdirFilterSync } from 'indian-ocean';

Should these be named exports in indian-ocean?

@mhkeller
Copy link
Owner

yea perhaps this library could use a refresh and put the exports in package.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants