unjs / unbuild

📦 A unified JavaScript build system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bundle with unexpected extension name when configuring `rollup.output.format` in `iife`

peterroe opened this issue · comments

commented

Environment

unbuild@2.0.0
node@^18

Reproduction

Refer #372

Describe the bug

Even if the content of the dist/index.mjs is expected, but the file extension should be js not mjs

Additional context

No response

Logs

No response