Skip to content

Commit

Permalink
Revert "[beta] Sandpack - new bundler (#4458)"
Browse files Browse the repository at this point in the history
This reverts commit 3ab1245.
  • Loading branch information
harish-sethuraman committed May 22, 2022
1 parent d26bf0a commit 68afb83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.22.0
12.16.1
5 changes: 1 addition & 4 deletions beta/src/components/MDX/Sandpack/SandpackRoot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

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';

Expand Down Expand Up @@ -83,9 +82,7 @@ function SandpackRoot(props: SandpackProps) {
customSetup={{...setup, files: files}}
autorun={autorun}
initMode="user-visible"
initModeObserverOptions={{rootMargin: '1400px 0px'}}
bundlerURL="https://22530bfe.sandpack-bundler.pages.dev"
logLevel={SandpackLogLevel.None}>
initModeObserverOptions={{rootMargin: '1400px 0px'}}>
<CustomPreset
isSingleFile={isSingleFile}
showDevTools={showDevTools}
Expand Down

0 comments on commit 68afb83

Please sign in to comment.