Skip to content

Commit 1b9494c

Browse files
committed
chore: remove workaround for oxc-project/oxc#8917
1 parent ad6c9c6 commit 1b9494c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

packages/vite/src/node/server/pluginContainer.ts

+1-6
Original file line numberDiff line numberDiff line change
@@ -1034,12 +1034,7 @@ export type {
10341034

10351035
// Backward compatibility
10361036
class PluginContainer {
1037-
// TODO: revert this workaround later when https://github.com/oxc-project/oxc/issues/8917 is fixed
1038-
private environments: Record<string, Environment>
1039-
1040-
constructor(environments: Record<string, Environment>) {
1041-
this.environments = environments
1042-
}
1037+
constructor(private environments: Record<string, Environment>) {}
10431038

10441039
// Backward compatibility
10451040
// Users should call pluginContainer.resolveId (and load/transform) passing the environment they want to work with

0 commit comments

Comments
 (0)