Skip to content

Fix: Change Docusaurus config to ES module + Fix undefined CSS minimizer build issue#53

Merged
evchip merged 6 commits into
mainfrom
fix/docusaurus-config-es-module
Sep 25, 2025
Merged

Fix: Change Docusaurus config to ES module + Fix undefined CSS minimizer build issue#53
evchip merged 6 commits into
mainfrom
fix/docusaurus-config-es-module

Conversation

@evchip

@evchip evchip commented Sep 25, 2025

Copy link
Copy Markdown
Collaborator

yarn start error

  • add check that minimizer is defined

Convert docusaurus.config.js to ES6 module

  • replace require() with import statements
  • change module.exports to export default
  • remove require.resolve() calls and used direct paths
  • rename the file to .mjs extension to support ES modules

@netlify

netlify Bot commented Sep 25, 2025

Copy link
Copy Markdown

Deploy Preview for t1docs ready!

Name Link
🔨 Latest commit 3072306
🔍 Latest deploy log https://app.netlify.com/projects/t1docs/deploys/68d58c1f21c92a0008c6c91b
😎 Deploy Preview https://deploy-preview-53--t1docs.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 project configuration.

@evchip evchip requested a review from OrestTa September 25, 2025 18:12
@evchip evchip self-assigned this Sep 25, 2025
@evchip evchip removed the request for review from OrestTa September 25, 2025 18:13
@evchip evchip marked this pull request as draft September 25, 2025 18:16
@evchip evchip changed the title Fix: Change Docusaurus config to ES module Fix: Change Docusaurus config to ES module + Fix undefined CSS minimizer build issue Sep 25, 2025
@evchip evchip marked this pull request as ready for review September 25, 2025 18:22
@evchip evchip requested a review from OrestTa September 25, 2025 18:22
@OrestTa

OrestTa commented Sep 25, 2025

Copy link
Copy Markdown
Member

nice, thank you—compiles :)

Comment thread docusaurus.config.mjs
@evchip evchip requested a review from OrestTa September 25, 2025 18:39
@evchip evchip merged commit c39ac7b into main Sep 25, 2025
5 checks passed
@evchip evchip deleted the fix/docusaurus-config-es-module branch September 25, 2025 18:41
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