You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please inform the type(s) of issue(s) you are reporting:
Feature Request
Description
We are removing an unnecessary library that is included in all JavaScript bundles of the sites but is only used for rendering markdown previews. This library should not be part of the production build, as it is used only in the admin environment for environment-specific settings (admin v2). The goal is to replace this with a dynamic import to ensure that the library is only loaded when necessary, improving bundle size and performance in production.
Steps to Reproduce (for bugs)
N/A
Expected Behavior
The library for rendering markdown previews should be dynamically imported and only loaded when needed in the admin environment (admin v2), and not included in production builds. This will reduce the size of the JavaScript bundles for production.
Actual Behavior
Currently, the library is included in all JavaScript bundles, even in production environments where it is not needed.
Additional Context
This change will optimize the performance of the production site by removing unnecessary code, ensuring the markdown preview functionality remains intact in the admin environment only.
The text was updated successfully, but these errors were encountered:
Issue Type
Please inform the type(s) of issue(s) you are reporting:
Description
We are removing an unnecessary library that is included in all JavaScript bundles of the sites but is only used for rendering markdown previews. This library should not be part of the production build, as it is used only in the admin environment for environment-specific settings (admin v2). The goal is to replace this with a dynamic import to ensure that the library is only loaded when necessary, improving bundle size and performance in production.
Steps to Reproduce (for bugs)
N/A
Expected Behavior
The library for rendering markdown previews should be dynamically imported and only loaded when needed in the admin environment (admin v2), and not included in production builds. This will reduce the size of the JavaScript bundles for production.
Actual Behavior
Currently, the library is included in all JavaScript bundles, even in production environments where it is not needed.
Additional Context
This change will optimize the performance of the production site by removing unnecessary code, ensuring the markdown preview functionality remains intact in the admin environment only.
The text was updated successfully, but these errors were encountered: