exec cue eval ./pkg:foo
-- cue.mod/module.cue --
module: "mod.test"
language: version: "v0.9.0"
-- in.cue --
package foo

import "mod.test/pkg:bar"

bar
z: 3
-- pkg/bar.cue --
package bar

import "mod.test/pkg:baz"

foo: {
	baz
	y: 2
}
foo
-- pkg/baz.cue --
package baz

x: 1
-- out/compile --
--- in.cue
{
  〈import;"mod.test/pkg:bar"〉
  z: 3
}
