Fixing SVG CSS import when using alternate build dir

This commit is contained in:
Jeff Avallone 2017-07-29 20:54:27 -04:00
parent e2e42e27b4
commit bf97c596c9

View File

@ -70,7 +70,7 @@ gulp.task('markup', 'Build markup into ./build directory.', ['webpack'], functio
bustCache: true bustCache: true
}); });
hbStream.partials({ hbStream.partials({
svg_styles: fs.readFileSync(__dirname + '/build/css/svg.css').toString() svg_styles: fs.readFileSync(config.buildRoot + '/css/svg.css').toString()
}); });
if (process.env.GA_PROP) { if (process.env.GA_PROP) {
hbStream.data({ hbStream.data({