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]
This commit is contained in:
parent
614f0d8e19
commit
9ab5c012bf
1 changed files with 8 additions and 1 deletions
|
@ -253,7 +253,14 @@ const configSchema = {
|
|||
type: 'boolean',
|
||||
},
|
||||
esmExternals: {
|
||||
type: 'boolean',
|
||||
oneOf: [
|
||||
{
|
||||
type: 'boolean',
|
||||
},
|
||||
{
|
||||
const: 'loose',
|
||||
},
|
||||
] as any,
|
||||
},
|
||||
externalDir: {
|
||||
type: 'boolean',
|
||||
|
|
Loading…
Reference in a new issue