fix tutorial

This commit is contained in:
Felix Roos 2022-03-26 14:52:58 +01:00
parent a9c95bbbfb
commit 93db3cd935
8 changed files with 88 additions and 9 deletions

View file

@ -13,7 +13,7 @@ import {
LiteralNumericExpression,
} from 'shift-ast';
import shiftCodegen from 'shift-codegen';
const codegen = shiftCodegen.default;
const codegen = shiftCodegen.default || shiftCodegen; // parcel module resolution fuckup
import * as strudel from '@strudel/core/strudel.mjs';

View file

@ -23,7 +23,7 @@
*/
import _Spec from 'shift-spec';
const Spec = _Spec.default;
const Spec = _Spec.default || _Spec; // parcel module resolution fuckup
// import { version } from '../package.json'
// Loading uncached estraverse for changing estraverse.Syntax.