const loader = new SVGLoader();
loader.load("propeller.svg",function(data){
data.paths.map((shp) => shapes.push({shape:SVGLoader.createShapes(shp)[0],color:shp.color }))
})
I have this code and it runs well in dev. but when I deploy the app, it fails to load the svg and warns “invalid url”. works perfectly well in development mode. can anyone help?