I am facing a problem in Webpack regarding Relative Path. Let me try to explain the scenario :
I have 2 separate project in Workspace directory :
you need to set the publicPath as a relative path to get the relative path in file-loader.