-
Notifications
You must be signed in to change notification settings - Fork 699
Labels
Description
Rollup has this.debug/this.log/this.warn functions in the plugin context. But currently these cannot be called from native plugins.
This is needed for multiple plugins.
rolldown/crates/rolldown_plugin_vite_resolve/src/vite_resolve_plugin.rs
Lines 296 to 300 in 2686eb1
| if !self.resolve_options.as_src { | |
| // TODO(sapphi-red): debug log | |
| } else if self.resolve_options.is_production { | |
| // TODO(sapphi-red): warn log | |
| } |
rolldown/crates/rolldown_plugin_transform/src/utils.rs
Lines 192 to 195 in 2686eb1
| // warnings.push( | |
| // `preserveValueImports=${preserveValueImports} + importsNotUsedAsValues=${importsNotUsedAsValues} is not supported by oxc.` + | |
| // 'Please migrate to the new verbatimModuleSyntax option.', | |
| // ) |
Reactions are currently unavailable