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 1eaa9ca commit 4b497e5Copy full SHA for 4b497e5
packages/app/src/sandbox/eval/presets/dojo/index.js
@@ -41,7 +41,17 @@ export default function initialize() {
41
]);
42
43
preset.registerTranspiler(module => /\.jsx?$/.test(module.path), [
44
- { transpiler: babelTranspiler },
+ {
45
+ transpiler: babelTranspiler,
46
+ options: {
47
+ isV7: true,
48
+ config: {
49
+ parserOpts: {
50
+ plugins: ['objectRestSpread'],
51
+ },
52
53
54
55
56
57
preset.registerTranspiler(module => /\.json$/.test(module.path), [
0 commit comments