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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs for plugin-proposal-json-modules #2866

Merged
merged 5 commits into from Feb 28, 2024

Conversation

nicolo-ribaudo
Copy link
Member

@nicolo-ribaudo nicolo-ribaudo commented Feb 26, 2024

@nicolo-ribaudo nicolo-ribaudo added this to the 7.24.0 milestone Feb 26, 2024
Copy link

netlify bot commented Feb 26, 2024

Deploy Preview for babel-next ready!

Name Link
🔨 Latest commit 33c33a6
🔍 Latest deploy log https://app.netlify.com/sites/babel-next/deploys/65ddc1c099d2520007930ebb
😎 Deploy Preview https://deploy-preview-2866--babel-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Feb 26, 2024

Deploy Preview for babel ready!

Name Link
🔨 Latest commit 33c33a6
🔍 Latest deploy log https://app.netlify.com/sites/babel/deploys/65ddc1c06f7f240008d66751
😎 Deploy Preview https://deploy-preview-2866--babel.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@JLHwung JLHwung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add sidebar items to

"TC39 Proposals": [

We can split the group into "stage 3" and "early" as well.

</TabItem>
<TabItem value="node-esm" label="Node.js (ESM)">

```js title="output.js"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit:

Suggested change
```js title="output.js"
```js title="output.mjs"

will be transformed to

<Tabs>
<TabItem value="browsers" label="Browsers" default>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the preface mentions that "whether the generated code should be compatible with Node.js, browsers, or both", can you add a tab here to show the output when targeting both platforms?

@nicolo-ribaudo nicolo-ribaudo merged commit d9e7aec into babel:main Feb 28, 2024
4 checks passed
@nicolo-ribaudo nicolo-ribaudo deleted the docs-proposal-json-modules branch February 28, 2024 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants