What problem does this feature solve?
https://rollupjs.org/configuration-options/#output-freeze
Whether to Object.freeze() namespace import objects (i.e. import * as namespaceImportObject from...) that are accessed dynamically.
Context: we're trying to migrate the leaflet build process to rolldown in Leaflet/Leaflet#10011 and found that output.freeze is not supported in rolldown v1.0.0-beta.58. Related:
|
"language/module-code/namespace/internals/is-extensible.js": { |
|
"reason": "Rolldown does not freeze module namespace objects" |
|
}, |
What does the proposed API look like?
https://rollupjs.org/configuration-options/#output-freeze
What problem does this feature solve?
https://rollupjs.org/configuration-options/#output-freeze
Context: we're trying to migrate the leaflet build process to rolldown in Leaflet/Leaflet#10011 and found that
output.freezeis not supported in rolldown v1.0.0-beta.58. Related:rolldown/crates/rolldown/tests/test262_failures.json
Lines 110 to 112 in 9258689
What does the proposed API look like?
https://rollupjs.org/configuration-options/#output-freeze