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
We are building Rspack apps in CI in non deterministic tmp directories, something like tmp/<unique_hash/app and therefore the variable names being defined (I believe by module_id_to_filename for imported modules is changing per build which breaks caching. Ideally we could define the variable naming structure via configuration with a function or a string template.
What problem does this feature solve?
We are building Rspack apps in CI in non deterministic tmp directories, something like
tmp/<unique_hash/app
and therefore the variable names being defined (I believe by module_id_to_filename for imported modules is changing per build which breaks caching. Ideally we could define the variable naming structure via configuration with a function or a string template.example of issue:
I was looking through the source code and saw FetchCompileAsyncWasmPlugin but I don't think that hooks into the variable naming?
What does the proposed API of configuration look like?
Ideally we could define this via a plugin or
rspack.config.js
or a plugin that allows for custom var naming for
__webpack_require__
The text was updated successfully, but these errors were encountered: