Skip to content

feat: support output.intro and output.outro.#1712

Merged
underfin merged 4 commits intorolldown:mainfrom
7086cmd:feat/intro-outro
Jul 24, 2024
Merged

feat: support output.intro and output.outro.#1712
underfin merged 4 commits intorolldown:mainfrom
7086cmd:feat/intro-outro

Conversation

@7086cmd
Copy link
Copy Markdown
Contributor

@7086cmd 7086cmd commented Jul 24, 2024

Check it out here in Rollup's documentation.

intro is after the use strict, and outro is before closing the wrapper function in IIFE, or before the footer in others.

Example here. Issue related: #819, including intro and outro.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jul 24, 2024

Deploy Preview for rolldown-rs canceled.

Name Link
🔨 Latest commit 6144df6
🔍 Latest deploy log https://app.netlify.com/sites/rolldown-rs/deploys/66a105a8ba7bd50008aea8bc

Comment thread crates/rolldown/tests/fixtures/misc/outro/iife/artifacts.snap Outdated
Comment thread crates/rolldown/tests/fixtures/misc/outro/iife/_config.json Outdated
@underfin
Copy link
Copy Markdown
Contributor

Thank you :)

@underfin underfin enabled auto-merge July 24, 2024 13:49
@underfin underfin added this pull request to the merge queue Jul 24, 2024
Merged via the queue into rolldown:main with commit 964c5ee Jul 24, 2024
@7086cmd 7086cmd deleted the feat/intro-outro branch July 25, 2024 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants