-
-
Notifications
You must be signed in to change notification settings - Fork 58
Closed
Labels
🐞 bugSomething isn't workingSomething isn't working
Description
Version
System:
OS: macOS 15.0.1
CPU: (8) arm64 Apple M1 Pro
Memory: 2.27 GB / 16.00 GB
Shell: 5.9 - /bin/zsh
Browsers:
Chrome: 130.0.6723.70
Safari: 18.0.1
npmPackages:
@rslib/core: ^0.0.13 => 0.0.13
Details
When I set the syntax es6, I get the error
ValidationError: Invalid configuration object. Rspack has been initialized using a configuration object that does not match the API schema.
Do we need to remove es6 to be consistent with rspack?
Keep it consistent with the official ECMAScript es2015, which is es6
Reproduce link
no
Reproduce Steps
- rsbuild.config.ts set syntax es6
// rsbuild.config.ts
import { defineConfig } from '@rslib/core'
export default defineConfig({
lib: [
{
format: 'esm',
syntax: 'es6',
dts: { bundle: false }
}
]
})- executive
npx rslib build
Metadata
Metadata
Assignees
Labels
🐞 bugSomething isn't workingSomething isn't working
