Skip to content

Conversation

b-l-i-n-d
Copy link
Collaborator

@b-l-i-n-d b-l-i-n-d commented Oct 3, 2025

  • Added global const __TUTOR_TEXT_DOMAIN__ to replace the variable in compile time
  • Added source map support.

Previously, we omitted the output for CSSs that are generated by rspack (not the extracted ones). This caused rspack to throw a panic error when we use source-map as a devtool, as it is trying to generate a source-map for an empty file that does not exist. So, I added the output file with a .ignore extension that will be removed while creating the zip, and also added it to gitignore. This resolves the panic error and also adds support for source-map, which helps to generate a proper error message and render the error source in ErrorBoundary.

@b-l-i-n-d b-l-i-n-d added the QoL Quality of Life label Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

QoL Quality of Life

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant