Boshen
Boshen
Possible solution: Rolldown goes through the comments list and filter for legal comments ([Comment Annotation = Legal](https://docs.rs/oxc_ast/latest/oxc_ast/enum.CommentAnnotation.html)), and add them to the end of a chunk. As a bonus: deduplicate...
The may control comment outputs in the latest oxc v0.68.1 codegen. Please let me know if there are any problems.
Note: there's a bunch of esbuild tests * https://github.com/rolldown/rolldown/pull/2643
Upstream: https://github.com/oxc-project/oxc/issues/6073
This will not be planned for Milestone 2. Let's survey the plugins that require tokens before starting. > [espree](https://www.npmjs.com/package/espree) (ESLint's parser) has a tokenize() method. That doesn't parse, only tokenizes...
Assigned to myself so I can schedule a time to think about this problem.
Need to research on whether these tokens match between our parser and what eslint uses, before make any changes to our Rust code.
> NOTE: Currently, it hasn't been ported yet, but the original `biome_formatter` code includes debug runtime mechanisms like: > > * `state.assert_formatted_all_tokens()` > * `comments.assert_formatted_all_comments()` > > which appear to...
> ## [CodSpeed Performance Report](https://codspeed.io/oxc-project/oxc/branches/rtsao%3Ano-useless-path-segments?utm_source=github&utm_medium=comment&utm_content=header) > ### Merging #14569 will **degrade performances by 5.86%** > Comparing `rtsao:no-useless-path-segments` (625ea87) with `main` ([ba76081](https://github.com/oxc-project/oxc/commit/ba76081ff7c80d4a95909aafd62a46fa3f54077b))[1](#user-content-fn-unexpected-base-4f10f472852554495938db24edb676ac) > > ### Summary > `❌ 3` regressions `✅...
Can you draft a PR for us to fill in isolated declarations transform? Here's the API: https://github.com/oxc-project/oxc/blob/ee627c355c919d1b0ce424d5c46c6882159f3f6e/crates/oxc_isolated_declarations/src/lib.rs#L29-L59 And usage ```rust let source_type = SourceType::from_path(&filename).unwrap_or_default().with_typescript(true); let allocator = Allocator::default(); let parser_ret...