Skip to content

Conversation

@ashnaarya
Copy link
Contributor

@ashnaarya ashnaarya commented Feb 14, 2025

Resolves SIG-41705

The Vite CJS Node API is deprecated in Vite 6. Converting this to a module so this plugin actually loads. Keeping lint on cjs for now to keep consistent with actions-sample-plugin.

The tests still do not work (CRA comes with Jest as its default test runner, Vite does not). Basically Vite favors ESM, but Jest is still in commonJS world....so we need to migrate to vitest to support unit testing (which is made to be compatible with Jest).

@netlify
Copy link

netlify bot commented Feb 14, 2025

Deploy Preview for sigma-org-chart canceled.

Name Link
🔨 Latest commit 03b7047
🔍 Latest deploy log https://app.netlify.com/sites/sigma-org-chart/deploys/67ae8d20b43ce900081a483c

@ashnaarya ashnaarya requested review from a team and peternandersson February 14, 2025 00:34
@ashnaarya ashnaarya changed the title [Vite] Migrate clustering-map plugin to JSX [Vite] Migrate clustering-map plugin to ESM Feb 14, 2025
@ashnaarya ashnaarya merged commit ae5cb7c into main Feb 14, 2025
5 checks passed
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.

3 participants