When running non-legacy build on a widget that imports an enum such as Keys from @dojo/widgets/common/util the build will fail / warn that Keys cannot be found.
The enum is present in the .d.ts file, but does not feature in the .js or the .m.js in the widget dist.