msavin
January 31, 2024, 7:29pm
1
For example, when adding quill.js to a clean Meteor build, performing the basic import import results in:
I’ve had this come up a few times lately, I suspect the package may be trying to run something like
import { thing } from "quills/libraries"
and Meteor cannot support it. Or maybe it’s a feature in new versions of Node?
Curious if anyone has run into it, or if there is a solution?
You might be using the V1.3.7 which is published in the NPM. They also have a V2 beta which seems far ahead 1.3.7 (5 years after all). V2 seems to have no external dependencies so you might not have the ESM issue.
{
"name": "quill-monorepo",
"version": "2.0.0-beta.2",
"description": "Quill development environment",
"private": true,
"author": "Jason Chen <jhchen7@gmail.com>",
"homepage": "https://quilljs.com",
"config": {
"ports": {
"webpack": "9080",
"website": "9000"
}
},
"workspaces": [
"packages/*"
],
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "git+https://github.com/quilljs/quill.git"
This file has been truncated. show original
1 Like