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

Convert to ESM #162

Merged
merged 2 commits into from
Jan 26, 2024
Merged

Convert to ESM #162

merged 2 commits into from
Jan 26, 2024

Conversation

brookslybrand
Copy link
Contributor

@brookslybrand brookslybrand commented Jan 25, 2024

Turning off serverModuleFormat: "cjs" and going to esm for the server

  • Convert server.js to server.mjs
  • Convert postcss.config and tailwind.config to .mjs
  • Externalizesatori (don't convert it)

Staging Site on ESM

Copy link
Contributor

@brophdawg11 brophdawg11 left a comment

Choose a reason for hiding this comment

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

Code changes look 👍 to me

@brophdawg11
Copy link
Contributor

As does the staging site.

Small unrelated/future UX enhancement - we should add some form of loading indicators to the top nav (Docs, Blog, Showcase, Resources). I clicked on one that didn't have a cache entry so it took ~1-2s and there's no visual feedback that my click did anything

@brookslybrand
Copy link
Contributor Author

Thanks @brophdawg11 and @jacob-ebey

I agree Matt, recorded this feedback in #163

@brookslybrand brookslybrand merged commit 2eab5bb into main Jan 26, 2024
4 checks passed
@brookslybrand brookslybrand deleted the brooks/esm branch January 26, 2024 15:25
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