lukeed / lukeed/tinydate

Add export map

Open
#11 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.1k
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Hi @lukeed! It would be great to have an export map for this project to be able to import it as ESM without depending on the `module` property!

Let me know if you want a PR! The one thing I'm not sure about is how we'd want to expose the minified file in `dist`? Or if that file is even needed?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the package metadata and the existing module entry, then check the files in dist to understand which package targets are currently exposed. Define an export map that supports ESM imports without relying on the module property, and resolve whether the minified dist file should remain exposed.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.