Skip to content

docs: separate module content and representation types - #10413

Draft
sapphi-red wants to merge 1 commit into
mainfrom
docs/module-representation
Draft

sapphi-red wants to merge 1 commit into
mainfrom
docs/module-representation

Conversation

@sapphi-red

@sapphi-red sapphi-red commented Jul 23, 2026 •

Copy link
Copy Markdown
Member

Currently, moduleType feature mixes two concerns:

  • what this module content is (e.g. js, ts, json, css, png, webp)
  • how this module should be represented (e.g. a JS value, the raw string, the URL to the binary file, a base64 encoded string)

This PR drafts how the docs will look like if we separated them and add representType for the latter concern. The implementation is only contained for the places needed for the docs change and is not meaningful.

refs vitejs/vite#22709

@netlify

netlify Bot commented Jul 23, 2026

Copy link
Copy Markdown

✅ Deploy Preview for rolldown-rs ready!

Name Link
🔨 Latest commit 334b267
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/6a61f6fc0d1a81000850bec6
😎 Deploy Preview https://deploy-preview-10413--rolldown-rs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@hyfdev

hyfdev commented Nov 9, 2026

Copy link
Copy Markdown
Member

This draft hasn't moved in a while.

Could you check whether it can be closed?

@sapphi-red

Copy link
Copy Markdown
Member Author

This one is better to be kept

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants