This repository was archived by the owner on Oct 2, 2022. It is now read-only.
This repository was archived by the owner on Oct 2, 2022. It is now read-only.
Doesn't work with Cosmiconfig sync API #134
Open
Description
Description
When using cosmiconfigSync
, the result from search
returns a promise on the config
property.
What went wrong?
A promise was returned instead of the result.
What did you expect should have happened?
If I remove this loader, cosmiconfigSync
/ explorerSync
works as expected. The config is an object, not a promise.
What was the config you used?
// {moduleName}.config.js
export default {
options: {
global: true
}
}
What stacktrace or error messages did you see?
N/A
Similar or dependent issues:
- none found
Additional Data
Version of cosmiconfig-typescript-loader
you're using:
3.0.2
Node Version:
10.22.0
Operating System:
macOS 10.15.7
Metadata
Metadata
Assignees
Labels
No labels