Unverified Commit 9ab5c012 authored by rubytree33's avatar rubytree33 Committed by GitHub

Stop build warning about `experimental: { esmExternals: 'loose' }` (#40377)

Fixes #40368.

## Bug

- [x] Related issues linked using `fixes #number`
- [ ] ~~Integration tests added~~ [none applicable]
- [ ] ~~Errors have helpful link attached, see `contributing.md`~~ [no new errors]
parent 614f0d8e
...@@ -253,7 +253,14 @@ const configSchema = { ...@@ -253,7 +253,14 @@ const configSchema = {
type: 'boolean', type: 'boolean',
}, },
esmExternals: { esmExternals: {
type: 'boolean', oneOf: [
{
type: 'boolean',
},
{
const: 'loose',
},
] as any,
}, },
externalDir: { externalDir: {
type: 'boolean', type: 'boolean',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment