inclusive-dates icon indicating copy to clipboard operation
inclusive-dates copied to clipboard

[BUG] Bundling error

Open nnelson1601 opened this issue 11 months ago • 0 comments

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.

nnelson1601 avatar Mar 04 '24 23:03 nnelson1601