Offroaders123 / NBTify

A library to read and write NBT files on the web!
http://npm.im/nbtify
MIT License
42 stars 5 forks source link

Failed to resolve module specifier "mutf-8" #49

Closed PRO-2684 closed 2 months ago

PRO-2684 commented 2 months ago

It seems that the module cannot be imported properly on the browser. The previous version (1.90.1) works fine.

image

Environment: Windows 11 23H2, Edge 128.0.2739.54

Offroaders123 commented 2 months ago

My bad, I still have to update the docs for loading the project with a CDN.

Here is the updated URL that allows you to load everything, including the new dependency I added, hence why it broke the module resolution in browsers.

import("https://cdn.jsdelivr.net/npm/nbtify/+esm");