Closed ignl closed 6 months ago
Hello @ignl, thanks for the report.
Vlitejs version 6 is ESM only, as explained in CHANGELOG.md. This is a radical change because not all projects are ready to move to EcmaScript modules yet, but that's where we are heading.
Documentation for use with a CDN describes the use case https://github.com/vlitejs/vlite?tab=readme-ov-file#cdn
If you cannot migrate your project to ESM, you can perfectly keep version 5, it is stable.
Ah OK thanks! Missed that.
Describe the bug
Version 5 works but when I update to version 6 I receive ReferenceError: Vlitejs is not defined.
Steps to reproduce
Expected behavior
Can access Vlitejs function after import in v6.
Screenshots and recordings
No response
Vlite.js
6.0.1
Browser
Any
OS
Linux
Additional context
No response