-- cue.mod/module.cue -- | |
module: "example.com" | |
-- foo.cue -- | |
package foo | |
import "example.com/pkg:bar" | |
bar | |
zz: 3 | |
-- pkg/bar.cue -- | |
package bar | |
import "example.com/pkg:baz" | |
baz | |
yy: 2 | |
-- pkg/baz.cue -- | |
package baz | |
xx: 1 | |
-- out/eval -- | |
(struct){ | |
xx: (int){ 1 } | |
yy: (int){ 2 } | |
zz: (int){ 3 } | |
} | |
-- out/compile -- | |
--- foo.cue | |
{ | |
〈import;"example.com/pkg:bar"〉 | |
zz: 3 | |
} |