Describe the feature
I noticed that if the imported file doesn't have a default export and I'm expecting a default export via
await jiti.import('filePath', { default: true });
then it doesn't throw or give an error response.
I'd like to be able to detect that there was no default export when it's expected.
Additional information
Describe the feature
I noticed that if the imported file doesn't have a default export and I'm expecting a default export via
then it doesn't throw or give an error response.
I'd like to be able to detect that there was no default export when it's expected.
Additional information