Error building after updating to TRL 0.1.1
Recently updated the TITAN system to TRL 0.1.1, but when I
npm run build
it errors out. Not sure why.
4 Replies
My
package.json
looks like this:
Figured it out. I needed to update my Vite.configNo worries... I see you have the
uuid
package as a dependency. Can you describe your use of uuid
? There is a minimal / uuidv4 implementation that is in TRL that is much smaller / more or less unique available via:
https://typhonjs-fvtt-lib.github.io/api-docs/classes/_runtime_util.Hashing.html#uuidv4Mostly I use it when working with array objects, so that I can reference a specific item in the array by its UUID. But if TRL already has something included I could try that
You might take a quick gander and see the difference in the
index.js
/ build size as well. Just curious about that. The uuid
package is pretty big.