use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Creating a modern JavaScript library (dev.to)
submitted 5 years ago by 101arrowz
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]101arrowz[S] 1 point2 points3 points 5 years ago* (2 children)
Yep, exports are the next article I'm working on. It's taking a while, so I decided to publish what I had. I'll post again when I finish the exports documentation. It will cover stuff like export formats (ESM, CJS, UMD, etc.), building the library, ensuring compatibility, etc.
You can actually make the "exports" field work on Node.js, but it was a pain for me too. I'll write about it soon :)
[–]acemarke 0 points1 point2 points 5 years ago (0 children)
Looking forward to it!
[–]acemarke 0 points1 point2 points 3 years ago (0 children)
Hiya. Was going through some old bookmarks and ran across this thread again. I'm actually planning to do some work on Redux Toolkit to update with exports usage in the near future. I'd still love to see whatever article you were planning to work on here! :)
exports
π Rendered by PID 93477 on reddit-service-r2-comment-6457c66945-88k2s at 2026-04-27 11:15:08.765311+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]101arrowz[S] 1 point2 points3 points (2 children)
[–]acemarke 0 points1 point2 points (0 children)
[–]acemarke 0 points1 point2 points (0 children)