diff --git a/pack.sh b/pack.sh index 3c2d7dbce6c1a..168a17f972406 100755 --- a/pack.sh +++ b/pack.sh @@ -39,17 +39,12 @@ function lerna_scopes() { # Compile examples with respect to "decdk" directory, as all packages will # be symlinked there so they can all be included. echo "Extracting code samples" >&2 -$ROSETTA extract \ +node --experimental-worker $(which $ROSETTA) \ --compile \ --output samples.tabl.json \ --directory packages/decdk \ $(cat $TMPDIR/jsii.txt) -echo "Infusing examples back into assemblies" >&2 -$ROSETTA infuse \ - samples.tabl.json \ - $(cat $TMPDIR/jsii.txt) - # Jsii packaging (all at once using jsii-pacmak) echo "Packaging jsii modules" >&2 $PACMAK \