Skip to content
This repository was archived by the owner on Jul 24, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ type Options = {
useAtYourOwnRisk_mutateSwcOptions?: (options: SWCOptions) => void;
};

const isWebContainer = globalThis.process?.versions?.["webcontainer"];

const react = (_options?: Options): PluginOption[] => {
let hmrDisabled = false;
const options = {
Expand Down Expand Up @@ -120,11 +118,6 @@ const react = (_options?: Options): PluginOption[] => {
"[vite:react-swc] The MDX plugin should be placed before this plugin",
);
}
if (isWebContainer) {
config.logger.warn(
"[vite:react-swc] SWC is currently not supported in WebContainers. You can use the default React plugin instead.",
);
}
},
transformIndexHtml: (_, config) => [
{
Expand Down
Loading