0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00

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
This commit is contained in:
Hannah Wolfe 2015-08-24 18:56:50 +01:00
parent 222ecc08b6
commit 4217295050

View file

@ -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'
},