Open josh08h opened 6 years ago
I guess it should be fine with separate configs for prod and dev
@josh08h Please check the related issues: https://github.com/mrsum/webpack-svgstore-plugin/issues/134 https://github.com/mrsum/webpack-svgstore-plugin/issues/152
I am trying to request my built svg sprite from webpack-dev-server however am getting a 404 (Not Found). This is because
__svg__
is requesting the built sprite from my rails app as opposed to requesting it from my dev server.Is there a way for
__svg__
xhr url to request from my dev server in development and production url when building?..Should
let replacement = expr.id.name + ' = { filename: ' + "__webpack_require__.p +" + '"' + data.fileName + '" }';
change depending on whether we are running a dev server or prod build?