From a6cf7950290c2ecd116f9e0d7393cbbaa3f87d6d Mon Sep 17 00:00:00 2001 From: Fabian Becker Date: Mon, 22 Sep 2014 01:17:56 +0200 Subject: [PATCH] Fixes sass:compress no ref - Use absolute path for compress/sourceMap --- Gruntfile.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 878f7d4342..09a0ded38b 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -311,10 +311,10 @@ var _ = require('lodash'), style: 'compressed', sourceMap: true }, - files: { - 'core/client/assets/css/<%= pkg.name %>.min.css': 'core/client/assets/sass/screen.scss', - 'core/client/docs/dist/css/<%= pkg.name %>.min.css': 'core/client/assets/sass/screen.scss' - } + files: [ + {dest: path.resolve('core/client/assets/css/<%= pkg.name %>.min.css'), src: path.resolve('core/client/assets/sass/screen.scss')}, + {dest: path.resolve('core/client/docs/dist/css/<%= pkg.name %>.min.css'), src: path.resolve('core/client/assets/sass/screen.scss')} + ] } },