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

Fix: Uncaught TypeError: Color is not a function in Vite (esbuild, Rollup) #448

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kikuomax
Copy link

@kikuomax kikuomax commented Dec 5, 2023

Fixes

Changes

  • Turn on esModuleInterop options in TypeScript configs
  • Change import syntax of Color and mkdirp

- Turns on `esModuleInterop` in TypeScript configs and fixes import
  statements for `Color` and `mkdirp` packages so that transpiled JS
  files can be imported in esbuild and Rollup.
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

Successfully merging this pull request may close these issues.

1 participant