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 vite cjs warning #1215

Merged
merged 1 commit into from
Apr 18, 2024
Merged

Fix vite cjs warning #1215

merged 1 commit into from
Apr 18, 2024

Conversation

pleek91
Copy link
Collaborator

@pleek91 pleek91 commented Apr 17, 2024

Description

This gets rid of the annoying vite cjs warning every time you run serve or build.

Need to do some additional testing to verify this doesn't produce a broken build. But server seems to work fine. Seems to work fine linking to a local build.

https://vitejs.dev/guide/migration.html#deprecate-cjs-node-api

Copy link

netlify bot commented Apr 17, 2024

Deploy Preview for prefect-design ready!

Name Link
🔨 Latest commit a3d48c8
🔍 Latest deploy log https://app.netlify.com/sites/prefect-design/deploys/66204465ec84110008e4068d
😎 Deploy Preview https://deploy-preview-1215--prefect-design.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@pleek91 pleek91 marked this pull request as ready for review April 18, 2024 14:04
@pleek91 pleek91 requested a review from a team as a code owner April 18, 2024 14:04
Copy link
Contributor

@collincchoy collincchoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should switch the package to ESM at some point

@pleek91 pleek91 merged commit 7714bd6 into main Apr 18, 2024
6 checks passed
@pleek91 pleek91 deleted the fix-cjs-depreciation-warning branch April 18, 2024 15:43
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.

2 participants