Hey @sergeche! Thanks so much for getting this published.
However, when I tried to install the package and follow the usage instructions in the README, I discovered that abbreviationTracker isn't a valid export. Digging deeper, I found that nothing is actually getting exported via the following code:
import * as emmet from '@emmetio/codemirror6-plugin';
console.log(Object.keys(emmet));
Indeed, when I opened up the bundle (under dist/plugin.js) and grepped for export nothing came up. Possibly an issue with the Vite config's rollup options?
Hey @sergeche! Thanks so much for getting this published.
However, when I tried to install the package and follow the usage instructions in the README, I discovered that
abbreviationTracker
isn't a valid export. Digging deeper, I found that nothing is actually getting exported via the following code:Indeed, when I opened up the bundle (under
dist/plugin.js
) and grepped forexport
nothing came up. Possibly an issue with the Vite config's rollup options?Created a repl with a minimal repro here: https://replit.com/@SergeiChestakov/cm-emmet-exports
Which is hosted here: https://cm-emmet-exports.sergeichestakov.repl.co/
You can visit that URL and check the logs to see that logging the module's exports produces an empty array