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

Add the main field to package.json #39

Merged
merged 1 commit into from
Aug 6, 2019
Merged

Add the main field to package.json #39

merged 1 commit into from
Aug 6, 2019

Conversation

wKovacs64
Copy link
Contributor

This change adds the main field to package.json which facilitates module resolution in various circumstances.

ESLint Example

import { Overwrite } from 'type-zoo';

// error: Unable to resolve path to module 'type-zoo'  import/no-unresolved

After adding the main field, this works as expected.

@pelotom pelotom merged commit 605529c into pelotom:master Aug 6, 2019
@pelotom
Copy link
Owner

pelotom commented Aug 6, 2019

Thanks!

@wKovacs64
Copy link
Contributor Author

Thanks Tom! Any chance we could get a 3.4.1 release for this?

@pelotom
Copy link
Owner

pelotom commented Aug 8, 2019

Yep, done.

@wKovacs64
Copy link
Contributor Author

Sweet, thanks again.

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

Successfully merging this pull request may close these issues.

2 participants