graphiti-api/spraypaint.js

SpraypaintBase undefined for global instance

Opened this issue · 0 comments

I was trying to use the library without modules, by directly loading from cdn, and SpraypaintBase was undefined. As far as I understand, there issue is here:

export const isProd = process.env.NODE_ENV === "production"

since process is not defined. I removed the resulting lines from the generated js file, and now it seems to work ok.