when using yarn with this framework with a dependency on openlayers, the static and node adaptors are not resolving the os references correctly.
Created this project as a quick demonstration of the build issue.
yarn dev : works fine (at least as far as I took it) yarn build:
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/projects/ksgolding/playground/my-app/node_modules/ol/layer/Tile' imported from /projects/ksgolding/playground/my-app/.svelte-kit/output/server/entries/pages/index.svelte.js
Did you mean to import sgolding/playground/my-app/node_modules/ol/layer/Tile.js? # !!! MIGHT BE NOTHING, BUT NOTE sgolding/ instead of ksgolding !!!
at finalizeResolution (internal/modules/esm/resolve.js:276:11)
at moduleResolve (internal/modules/esm/resolve.js:699:10)
yarn install
yarn build
Issue can be reproduced with either the node or static-adaptor.