I am using this passed down code
const DIST_DIR = path.join(__dirname, '/client-react/dist');
and I looked at the official docs however the docs did not show a practical example.
From a conceptual point of view path.join
appears to make paths consistent across platforms but I don't know what this means practically.
Can someone provide a practical example?