mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 03:33:27 +00:00
Comment out sprity and leave a not in README.md.
This commit is contained in:
parent
11f198d970
commit
040739ef7f
2 changed files with 17 additions and 10 deletions
|
@ -19,7 +19,7 @@ module.exports = (grunt) ->
|
|||
grunt.loadNpmTasks 'grunt-exec'
|
||||
grunt.loadNpmTasks 'grunt-contrib-cssmin'
|
||||
# grunt.loadNpmTasks 'grunt-contrib-imagemin'
|
||||
grunt.loadNpmTasks 'grunt-sprity'
|
||||
# grunt.loadNpmTasks 'grunt-sprity'
|
||||
|
||||
config =
|
||||
|
||||
|
@ -60,15 +60,14 @@ module.exports = (grunt) ->
|
|||
# interlaced:false
|
||||
# optimizationLevel: 7
|
||||
|
||||
sprity:
|
||||
|
||||
sprite:
|
||||
options:
|
||||
cssPath:"/img/"
|
||||
'style': '../../public/stylesheets/app/sprites.less'
|
||||
margin: 0
|
||||
src: ['./public/img/flags/24/*.png']
|
||||
dest: './public/img/sprite',
|
||||
# sprity:
|
||||
# sprite:
|
||||
# options:
|
||||
# cssPath:"/img/"
|
||||
# 'style': '../../public/stylesheets/app/sprites.less'
|
||||
# margin: 0
|
||||
# src: ['./public/img/flags/24/*.png']
|
||||
# dest: './public/img/sprite'
|
||||
|
||||
|
||||
coffee:
|
||||
|
|
|
@ -6,9 +6,17 @@ web-sharelatex is the front-end web service of the open-source web-based collabo
|
|||
It serves all the HTML pages, CSS and javascript to the client. web-sharelatex also contains
|
||||
a lot of logic around creating and editing projects, and account management.
|
||||
|
||||
|
||||
The rest of the ShareLaTeX stack, along with information about contributing can be found in the
|
||||
[sharelatex/sharelatex](https://github.com/sharelatex/sharelatex) repository.
|
||||
|
||||
Build process
|
||||
----------------
|
||||
|
||||
web-sharelatex uses [Grunt](http://gruntjs.com/) to build its front-end related assets.
|
||||
|
||||
Image processing tasks are commented out in the gruntfile and the needed packages aren't presently in the project's `package.json`. If the images need to be processed again (minified and sprited), start by fetching the packages (`npm install grunt-contrib-imagemin grunt-sprity`), then *decomment* the tasks in `Gruntfile.coffee`. After this, the tasks can be called (explicitly, via `grunt imagemin` and `grunt sprity`).
|
||||
|
||||
Unit test status
|
||||
----------------
|
||||
|
||||
|
|
Loading…
Reference in a new issue