steveruizok / perfect-freehand

Draw perfect pressure-sensitive freehand lines.
https://perfectfreehand.com
MIT License
4.52k stars 159 forks source link

Use the .mjs file extension for the esm build #59

Closed Redemption198 closed 1 year ago

Redemption198 commented 2 years ago

This PR is a follow-up to https://github.com/steveruizok/perfect-freehand/pull/55, which fixed the CommonJS error reported in https://github.com/steveruizok/perfect-freehand/issues/53. The .js file extension of the esm build causes Vite to parse it as a CommonJS module causing errors. Changing the esm build file extension to .mjs fixes the issue.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
perfect-freehand-example ✅ Ready (Inspect) Visit Preview Sep 26, 2022 at 8:23PM (UTC)
pf-dev ✅ Ready (Inspect) Visit Preview Sep 26, 2022 at 8:23PM (UTC)