DataTables / DataTables/Plugins
Proposal: Add ESM-compatible plugin exports for modern environments
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
Hi and thanks for this collection of plugins.
Would you consider supporting ES Module (ESM) usage in modern environments like Vite, Symfony AssetMapper, or import maps?
I’d suggest a non-breaking addition:
- Keep current files unchanged
- Add ESM-friendly variants (e.g.
ellipsis.esm.js) usingexport default - Add
"exports"inpackage.jsonto expose them to ESM-aware CDNs (esm.sh, skypack, etc.)
If you agree, I can contribute a PR with initial support.
Thanks!
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 reviewing package.json and the existing plugin files, including the proposed ellipsis.esm.js example. Check how the current files are exposed and whether the requested ESM variants and exports can cover the plugin collection without changing existing files. Done means ESM-aware environments can import the added variants through the package exports while current usage remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100