esm.sh
esm.sh copied to clipboard
Failed to import - Quill
Failing module
- GitHub: https://github.com/quilljs/quill
- npm: https://www.npmjs.com/package/quill/v/2.0.0-beta.0
import Quill from 'https://esm.sh/[email protected]';
console.log(new Quill(document.createElement('div')));
Error message
After onload
I got this:
Uncaught TypeError: _quillDelta.default is not a constructor
at Editor.getDelta (editor.ts:165:8)
at new Editor (editor.ts:25:23)
at new _Quill (quill.ts:177:19)
Additional info
- esm.sh version: v135
- Browser version: Chrome 119.0.6045.199
The error seems to be with an import of a subdependency, https://www.npmjs.com/package/quill-delta.