Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃摑 Docs: Explicitly document how to work with Node loader/import/require flags #5087

Open
3 tasks done
JoshuaKGoldberg opened this issue Jan 24, 2024 · 0 comments
Open
3 tasks done
Labels
area: documentation anything involving docs or mochajs.org status: in discussion Let's talk about it! type: feature enhancement proposal

Comments

@JoshuaKGoldberg
Copy link
Member

Documentation Request Checklist

Overview

Collecting user questions from #5002 & #5047 & linked: it's not clear in the Mocha docs how to use it in conjunction with Node.js --(experimental-)loader (deprecated), --import, and/or --require. I think it'd be good to put a docs guide somewhere. This area of user questioning has become much more relevant over the last few years as ESM's gotten more popular. Folks writing TypeScript more and more has been a factor too.

Additional Info

mochajs/mocha-examples#76 will help but is really only part of the way.

I'm not sure exactly where to put these docs 馃. Something to think about once start to look at the website more critically.

@JoshuaKGoldberg JoshuaKGoldberg added type: feature enhancement proposal area: documentation anything involving docs or mochajs.org status: in discussion Let's talk about it! labels Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: documentation anything involving docs or mochajs.org status: in discussion Let's talk about it! type: feature enhancement proposal
Projects
None yet
Development

No branches or pull requests

1 participant