Ghost/.gitignore
Hannah Wolfe a413d70313 Asset amends (#8294)
refs #8221

🔥 Remove ghost=true concept from asset url helper

 💯 Introduce CSS minification with cssnano
- add new grunt-cssnano dependency
- wire up grunt task to minify public/ghost.css

🎨 Rename minification config & hash params
- Change minifyInProduction -> hasMinFile
  - this means this asset should have a .min file available
- Change minifyAssets -> useMinFiles
  - this means that in this env we want to serve .min files if available

🎨 Update public/ghost.css to serve .min for prod
- add the new `hasMinFile` property

🎨 Move minified asset handling to asset_url util
- this logic should be in the util, not the asset helper
- updated tests

📖 Error handler always needs asset helper
- this removes the TODO and adds a more sensible comment
- we also need to update our theme documentation around error templates

🔥 Don't use asset helper in ghost head
- use getAssetUrl util instead!
- removed TODO

📖 Update proxy docs
🎨 Simplify asset helper & add tests
- this refactor is a step prior to moving this from metadata to being a url util
- needed to skip some new tests

🐛 Add missing handler for css file
2017-04-10 11:30:21 +02:00

76 lines
981 B
Plaintext

b-cov
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz
!core/test/utils/fixtures/**/*.csv
pids
results
npm-debug.log
node_modules
bower_components
.bowerrc
.idea/*
*.iml
*.sublime-*
projectFilesBackup
.DS_Store
# vim-related
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist
.vimrc
*~
# TernJS
.tern-project
# Ghost DB file
*.db
*.db-journal
.build
.dist
.tmp
/core/server/data/export/exported*
/content/tmp/*
/content/data/*
/content/logs/*
/content/apps/**/*
/content/themes/**/*
/content/images/**/*
/content/adapters/storage/**/*
/content/adapters/scheduling/**/*
!/content/themes/casper/**
!/README.md
# Changelog, which is autogenerated, not committed
CHANGELOG.md
# Test generated files
/core/test/functional/*.png
/core/test/coverage
# ignore all custom json files for config
config.*.json
# Built asset files
/core/built
/core/server/admin/views/*
/core/server/public/ghost-url.min.js
/core/server/public/ghost.min.css
# Coverage reports
coverage.html