Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpraypaintBase undefined for global instance #60

Open
mkamensky opened this issue Feb 9, 2020 · 0 comments
Open

SpraypaintBase undefined for global instance #60

mkamensky opened this issue Feb 9, 2020 · 0 comments

Comments

@mkamensky
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant