Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Bug]: MISSING_NAME_OPTION_FOR_IIFE_EXPORT is output even if nothing is exported from the entrypoint #2255

@sapphi-red

Description

@sapphi-red

Reproduction link or steps

  1. Open https://stackblitz.com/edit/github-6jajke-qkv41p?file=rolldown.config.mjs
  2. npm run build runs automatically
  3. see MISSING_NAME_OPTION_FOR_IIFE_EXPORT is output
  4. run npm run build:up to run rollup
  5. see no warning is output

What is expected?

no warning is output

What is actually happening?

MISSING_NAME_OPTION_FOR_IIFE_EXPORT warning is output

System Info

Stackblitz

  System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.20.3 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    rolldown: https://pkg.pr.new/rolldown@dab103f => 0.13.2

Any additional comments?

This is not something urgent.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions