Skip to content

Web extensions built using --preserveModules cannot be installed #5563

@Samydookie

Description

@Samydookie

Expected Behavior / Situation

When building an extension bundle using --preserveModules, the folder _virtual makes the extension unable to be installed in chrome (chrome does not allow any folders starting with an underscore in extension bundles)

Actual Behavior / Situation

We are working on a vite wrapper that does partial rebuilds using --preserveModules and would like to not have to use patch-package to change the _virtual folder

Modification Proposal

Changing all instances of _virtual to rollup__virtual fixes the problem
(I hope this is a simple find and replace)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions