NUKnightLab / NUKnightLab/TimelineJS3
ES6 modules not working with Symfony Asset-Mapper
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 3.2k
- Forks
- 645
- PR merge metrics
- No merged PRs in 30d
Description
I think this is related to #889
When using
import { Timeline } from '@knight-lab/timelinejs';
the Symfony Asset-Mapper uses jsDelivr to get the correct files.
However jsDelivr can not get the correct files and throws an error.
Therefore we get The requested module '@knight-lab/timelinejs' does not provide an export named 'Timeline'.
I think solving the related issues should solve this situation too.
Thanks for the package, really loving it <3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading related issue #889 and reproducing the ES6 import with Symfony Asset-Mapper. Investigate how jsDelivr resolves @knight-lab/timelinejs and which package files it serves. Done means the import exposes Timeline without the reported export error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100