diff --git a/.nvmrc b/.nvmrc index 66df3b7ab2d..898e643b005 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -12.16.1 +12.22.0 diff --git a/beta/src/components/MDX/Sandpack/SandpackRoot.tsx b/beta/src/components/MDX/Sandpack/SandpackRoot.tsx index 7b933e39807..444776e1bc5 100644 --- a/beta/src/components/MDX/Sandpack/SandpackRoot.tsx +++ b/beta/src/components/MDX/Sandpack/SandpackRoot.tsx @@ -4,6 +4,7 @@ import * as React from 'react'; import {SandpackProvider} from '@codesandbox/sandpack-react'; +import {SandpackLogLevel} from '@codesandbox/sandpack-client'; import {CustomPreset} from './CustomPreset'; import {createFileMap} from './utils'; @@ -82,7 +83,9 @@ function SandpackRoot(props: SandpackProps) { customSetup={{...setup, files: files}} autorun={autorun} initMode="user-visible" - initModeObserverOptions={{rootMargin: '1400px 0px'}}> + initModeObserverOptions={{rootMargin: '1400px 0px'}} + bundlerURL="https://22530bfe.sandpack-bundler.pages.dev" + logLevel={SandpackLogLevel.None}>