-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
docs(guides): update getting-started to use ES6 syntax #7677
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@jashtanna007 is attempting to deploy a commit to the OpenJS Foundation Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is good, but the name of the config file needs to be webpack.config.mjs
if we use module syntax.
Also, I think we need something to show that we can use |
Co-authored-by: Even Stensberg <evenstensberg@gmail.com>
6692c33
to
2a018b4
Compare
Hi @evenstensberg, thank you for your patience. I have implemented the tabbed code group as you suggested, but I am completely stuck on a persistent linting error. The error is It seems the linter is not configured to handle As I am unfamiliar with the specifics of this project's ESLint and MDX configuration, could you please provide some guidance on the correct way to import and use these components in a Thank you for your help! |
No problems, thanks for your contribution! I think the next step is to try fix that before merging this pr. |
Thanks for the reply, @evenstensberg! I'm ready to fix the linting error. As I'm unfamiliar with this project's specific MDX/ESLint setup, could you please point me in the right direction or provide an example of the correct way to import and use the I'm eager to make the required changes as soon as I know the correct approach. Thanks again! |
Fixes #7636
Updated the webpack.config.js example in the 'Getting Started' guide to use modern ES6 module syntax.