Skip to content

[Bug]: strictExecutionOrder option not recognized #8016

@mattlewis92

Description

@mattlewis92

Reproduction link or steps

Setting:

export default defineConfig({
  input: ['./src/entry.js', './src/other-entry.js'],
  output: {
    strictExecutionOrder: true,
  },
});

Results in (using rolldown v1.0.0-rc.1):

- For the "strictExecutionOrder". Invalid key: Expected never but received "strictExecutionOrder". 

Repro: https://stackblitz.com/edit/rolldown-rolldown-starter-stackblitz-dsuuotfp?file=rolldown.config.mjs

What is expected?

No warning as this is valid:
https://rolldown.rs/reference/OutputOptions.strictExecutionOrder#strictexecutionorder

What is actually happening?

A warning is shown

System Info

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: 20.19.1 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.8.2 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    @rolldown/browser:  1.0.0-rc.1

Any additional comments?

I guess caused by #7901

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions