import { defineConfig } from 'rolldown'
export default defineConfig({
input: "./index.js",
// should return boolean, but returns a number
external: id => ['foo'].find(name => id === name)
})
errors with
<anonymous_script>:0
[Error: Value is non of these types `bool`, `UnknownReturnValue`, ] {
code: 'InvalidArg'
}
.
REPL
This error message is difficult to understand. It would be better to show the stacktrace if possible. If that's difficult, we should show the option name.
errors with
.
REPL
This error message is difficult to understand. It would be better to show the stacktrace if possible. If that's difficult, we should show the option name.