We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea692a4 commit ac9e669Copy full SHA for ac9e669
src/rsg-components/Preview/Preview.js
@@ -6,7 +6,9 @@ import { transform } from 'buble';
6
import PlaygroundError from 'rsg-components/PlaygroundError';
7
import Wrapper from 'rsg-components/Wrapper';
8
9
-const compileCode = code => transform(code).code;
+const compileCode = code => transform(code, {
10
+ objectAssign: 'Object.assign',
11
+}).code;
12
13
export default class Preview extends Component {
14
static propTypes = {
0 commit comments