-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
In the ESM build of this module there is a call to require
that originates here:
const resolveAllOf = require('@stoplight/json-schema-merge-allof'); |
In an ES module, there is no require
unless it is created with createRequire
, causing this module to not be usable as ESM.
Context
The bug prevents the ESM code from being used. I override with the CJS code for now.
Current Behavior
ESM cannot be used.
Expected Behavior
ESM should be usable.
Possible Workaround/Solution
Use CJS version for now.
Steps to Reproduce
Import ESM build as ESM
Environment
Chrome 115, built using Vite
jrencz, bjacobso and rewweRrr
Metadata
Metadata
Assignees
Labels
No labels