I have a third party library that's rather robust and contains a ton of import
statements that are conflicted with the node.js running on the server. I want to be able to use the library but I can't access the module because of the import statements. Also adding it as a module to be added doesn't really work because it's then processed through node.js
's javascript engine and throws errors when using import instead of, I'm guessing, require()
.
I also have the library installed via npm and it's showing up inside of node_modules
however when I do var Quill = require("quill')
it doesn't load proper as if it doesn't recognize it's an npm dependency.
via ggworean
No comments:
Post a Comment