Okay, how to create a common folder/file?

What I’m currently running into is this:

I’ve got a /client folder, a /server folder and a /common folder in my root folder.

It should be obvious as to what goes where - strictly client stuff goes into the /client folder, server stuff into the server one and things like collections and (some) methods go into the common folder.

However, when I then try to do a import {foo} from '../common/collections' in /server/main.js I get a file not found error on the server side.

Can you post your whole file structure? Or a reproduction repo?

Okay, the problem just solved itself. Don’t ask me why or how. I changed zero code.