Open gendalf opened 8 years ago
@gendalf you are right. which logic u expect?
assetsPublicPath = "/" svg = { path : "assets/svg.." } Injected with path http://.../assets/svg... = 200
assetsPublicPath = "/clientroom" svg = { path : "assets/svg.." } Injected with path http://.../assets/svg... = 404 But can access by http://.../clientroom/assets/svg.. = 200
assetsPublicPath = "/clientroom" svg = { path : "clientroom/assets/svg.." } Injected with path http://.../clientroom/assets/svg... = 404
When assetsPublicPath in webpack isnt "/", module not add it to svg url in xhr