Webpack [url/file-loader] is not resolving the Relative Path of URL

前端 未结 3 1566
梦毁少年i
梦毁少年i 2021-02-05 20:19

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 :

3条回答
  •  深忆病人
    2021-02-05 21:05

    you need to set the publicPath as a relative path to get the relative path in file-loader.

提交回复
热议问题