mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-22 01:46:51 +01:00
new generated folder
This commit is contained in:
parent
328bd3d767
commit
cef98fc4f4
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,3 @@
|
||||
node_modules
|
||||
bower_components
|
||||
_site
|
||||
generated
|
@ -4,7 +4,7 @@ module.exports = function(grunt){
|
||||
// config
|
||||
var gruntConfig = {
|
||||
src: '_src',
|
||||
site: '_site',
|
||||
site: 'generated',
|
||||
assets: {
|
||||
less: 'assets/less',
|
||||
css: 'assets/css',
|
||||
@ -156,7 +156,7 @@ module.exports = function(grunt){
|
||||
},
|
||||
less: {
|
||||
files: ['<%= config.src %>/<%= config.assets.less %>/*.less'],
|
||||
tasks: ['less']
|
||||
tasks: ['less','cmq','cssmin']
|
||||
},
|
||||
js: {
|
||||
files: ['<%= config.src %>/<%= config.assets.js %>/*.js'],
|
||||
@ -171,7 +171,7 @@ module.exports = function(grunt){
|
||||
'<%= config.src %>/_posts/**',
|
||||
'<%= config.src %>/_drafts/**'
|
||||
],
|
||||
tasks: ['jekyll:development', 'less', 'uglify']
|
||||
tasks: ['jekyll:development', 'less', 'cmq', 'cssmin', 'uglify']
|
||||
},
|
||||
},
|
||||
|
||||
|
@ -38,7 +38,7 @@ pygments: true
|
||||
# --------------------
|
||||
|
||||
source: ./_src
|
||||
destination: ./_site
|
||||
destination: ./generated
|
||||
exclude: ['design', 'node_modules', 'less']
|
||||
keep_files: ['media', 'gen']
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user