From 4217295050a8a0790fd60d46099d2ad4f72606be Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Mon, 24 Aug 2015 18:56:50 +0100 Subject: [PATCH] Temporarily disable sourcemaps - Sourcemaps are adding ~.4mb to the release zip, which is not cool - Long term, we need to swap this out for a system that will let us do sourcemaps in dev, and generate a separate non-minified css file without the sourcemap when doing a release - Short term, I'm disabling sourcemaps & they'll need to be enabled when needed --- core/client/Brocfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/client/Brocfile.js b/core/client/Brocfile.js index d39665e6e9..31c9636a6e 100644 --- a/core/client/Brocfile.js +++ b/core/client/Brocfile.js @@ -29,7 +29,8 @@ app = new EmberApp({ source: './app/styles/app.css', inputFile: 'app.css', browsers: 'last 2 versions', - sourcemap: !mythCompress, + // @TODO: enable sourcemaps for development without including them in the release + sourcemap: false, compress: mythCompress, outputFile: isProduction ? 'ghost.min.css' : 'ghost.css' },