I am not sure if we can configure a relative path instead of an absolute one. I have passed this query to my SM team. I will let you know once I get a response from them.
Hey @webadmin, thanks for sharing your case.
That's the current workaround that we can recommend since we're not modifying the structure of Slice Machine projects yet.
Just an FYI — It's a damned if you do, damned if you don't situation to add this file to .gitignore. On one hand, it get's it out of the merge conflict zone. Getting it into .prettierignore helps prettier checks on it to. The flip side is we have TypeScript set to check that import's resolve in our CI — but our CI never has the file because it never runs yarn slicemachine. So, we get CI errors like [app]/pages/slice-simulator.tsx(4,19): error TS2307: Cannot find module '../.slicemachine/libraries-state.json' or its corresponding type declarations.