File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
examples/components/ts-resource-export Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,16 @@ async function main() {
3030 // NOTE: While we can implement the shim once, we have to
3131 // merge different versions of it to create a complete import object
3232 // that the transpiled component can use.
33+ //
34+ // The lines below use the shim above *as* 0.2.7
35+ // inject the same shim as various versions of 0.2.x
36+ // which are required by the component and/or the build of
37+ // StarlingMonkey underneath
38+ //
39+ // To figure out which versions are required,
40+ // use `jco wit <component path>` and observe the versions of
41+ // various wasi dependencies that are in use via imports/exports
42+ //
3343 ...shim . getImportObject < '0.2.7' > ( { asVersion : '0.2.7' } ) ,
3444 ...shim . getImportObject < '0.2.3' > ( { asVersion : '0.2.3' } ) ,
3545 ...shim . getImportObject ( ) ,
You can’t perform that action at this time.
0 commit comments