- transpiler now always returns an object
- emit transpiler metadata from evaluate / afterEval - currently logging miniLocations from Repl.jsx
This commit is contained in:
parent
5f271ed127
commit
8e717d2ea1
7 changed files with 25 additions and 19 deletions
|
|
@ -129,8 +129,8 @@ export default (_code) => {
|
|||
if (shouldAddReturn) {
|
||||
addReturn(shifted);
|
||||
}
|
||||
const generated = undisguiseImports(codegen(shifted));
|
||||
return generated;
|
||||
const output = undisguiseImports(codegen(shifted));
|
||||
return { output };
|
||||
};
|
||||
|
||||
// renames all import statements to "_mport" as Shift doesn't support dynamic import.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue