commit 7910f5893b12d61252635574d6de7d3e6c431bec
parent 7e06940b0616b8f3d9e84faeb3b533f4854d6a72
Author: Andrew Shapro <andrew.shapro@gmail.com>
Date: Wed, 18 Mar 2015 09:21:00 -0700
In webpack.config.js, switching output.publicPath from './build/' to './'
Images referenced in CSS by the 'url' statement were improperly getting referenced with '/build/' prepended to the file path. Removing switching to './' fixes the problem
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webpack.config.js b/webpack.config.js
@@ -28,7 +28,7 @@ var GLOBALS = {
var config = {
output: {
path: './build/',
- publicPath: './build/',
+ publicPath: './',
sourcePrefix: ' '
},