Skip to content

codegen: attach comments to span: 0 #12982

@Boshen

Description

@Boshen
/*! 
 * INDEX.TS (ABOVE IMPORT)
 * THIS COMMENT IS NOT PRESERVED
 */

import { foo } from './foo.ts';

This legal comment is attached to the import statement, it gets removed when the import statement is removed. Rolldown need to move the comment to span: 0.

Metadata

Metadata

Assignees

Labels

P-highPriority - High

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions