Skip to content

ogygia error

macro_outside_app

‹file› — import.meta.og.‹macro›() is used in an installed package that does not declare this file in "ogygia.files".

The import.meta.og.* macros (bake runs code at build time) work in the app's own source, and in the files a package lists under "ogygia.files" in its package.json. An installed file outside that list that uses one fails the build, and nothing in it runs. If the package is meant to ship ogygia code, add the file (or a glob for it) to that package's "ogygia.files"; otherwise it should not use the macro.

Every error and warning