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

[BUG] Bundling error #102

Open
nnelson1601 opened this issue Mar 4, 2024 · 0 comments
Open

[BUG] Bundling error #102

nnelson1601 opened this issue Mar 4, 2024 · 0 comments

Comments

@nnelson1601
Copy link

Describe the bug
The module seems to be missing some typings for InclusiveDates elements.

Reproduction
Steps to reproduce the behavior:

  1. npm install inclusive-dates
  2. Navigate to node_modules/inclusive-dates/dist/components/index.d.ts
  3. See error 'cannot find module' on line 2.

Expected behavior
The inclusive-dates module should include a dist/types/components/inclusive-dates folder with typings.

Screenshots
image
image

Context
I'm bundling inclusive-dates into a React component library to backbone a DatePicker component.

I did pull down the inclusive-dates repo and noticed that without adjusting any config, I built the library twice. After the first build, the dist folder looked exactly like what I pulled down from npmjs. After the second build, the dist folder updated to include all the typings. When I copied that locally built dist folder into my component library's assets folder and used inclusive-dates from there, it worked perfectly.

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

1 participant