diff --git a/scripts/compress-worker.js b/scripts/compress-worker.js index 3bcb9084eefe66be2a79a346f1f10241f7a7afff..4ffb923334576fe0c511821d5c1c4eeb8bc994e9 100644 --- a/scripts/compress-worker.js +++ b/scripts/compress-worker.js @@ -84,7 +84,7 @@ function compressResource(staticPath, name, files, cb) { var static_root = path.join(__dirname, '..', 'resources/static/'); logger.info("cachify will look in " + static_root); // Cachify only used in compress for CSS Images, so no asserts needed -cachify.setup({}, { root: static_root}); +cachify.setup({}, { prefix: 'v', root: static_root }); function cachify_embedded (css_src) { return css_src.replace(/url\s*\(['"](.*)\s*['"]\s*\)/g, function (str, url) { @@ -105,4 +105,4 @@ process.on('message', function(m) { info: info }); }); -}); \ No newline at end of file +});