File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,6 @@ type Options = {
69
69
useAtYourOwnRisk_mutateSwcOptions ?: ( options : SWCOptions ) => void ;
70
70
} ;
71
71
72
- const isWebContainer = globalThis . process ?. versions ?. [ "webcontainer" ] ;
73
-
74
72
const react = ( _options ?: Options ) : PluginOption [ ] => {
75
73
let hmrDisabled = false ;
76
74
const options = {
@@ -120,11 +118,6 @@ const react = (_options?: Options): PluginOption[] => {
120
118
"[vite:react-swc] The MDX plugin should be placed before this plugin" ,
121
119
) ;
122
120
}
123
- if ( isWebContainer ) {
124
- config . logger . warn (
125
- "[vite:react-swc] SWC is currently not supported in WebContainers. You can use the default React plugin instead." ,
126
- ) ;
127
- }
128
121
} ,
129
122
transformIndexHtml : ( _ , config ) => [
130
123
{
You can’t perform that action at this time.
0 commit comments