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:
parent
222ecc08b6
commit
4217295050
1 changed files with 2 additions and 1 deletions
|
@ -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'
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue