mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-22 09:56: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
|
node_modules
|
||||||
bower_components
|
bower_components
|
||||||
_site
|
generated
|
@ -4,7 +4,7 @@ module.exports = function(grunt){
|
|||||||
// config
|
// config
|
||||||
var gruntConfig = {
|
var gruntConfig = {
|
||||||
src: '_src',
|
src: '_src',
|
||||||
site: '_site',
|
site: 'generated',
|
||||||
assets: {
|
assets: {
|
||||||
less: 'assets/less',
|
less: 'assets/less',
|
||||||
css: 'assets/css',
|
css: 'assets/css',
|
||||||
@ -156,7 +156,7 @@ module.exports = function(grunt){
|
|||||||
},
|
},
|
||||||
less: {
|
less: {
|
||||||
files: ['<%= config.src %>/<%= config.assets.less %>/*.less'],
|
files: ['<%= config.src %>/<%= config.assets.less %>/*.less'],
|
||||||
tasks: ['less']
|
tasks: ['less','cmq','cssmin']
|
||||||
},
|
},
|
||||||
js: {
|
js: {
|
||||||
files: ['<%= config.src %>/<%= config.assets.js %>/*.js'],
|
files: ['<%= config.src %>/<%= config.assets.js %>/*.js'],
|
||||||
@ -171,7 +171,7 @@ module.exports = function(grunt){
|
|||||||
'<%= config.src %>/_posts/**',
|
'<%= config.src %>/_posts/**',
|
||||||
'<%= config.src %>/_drafts/**'
|
'<%= config.src %>/_drafts/**'
|
||||||
],
|
],
|
||||||
tasks: ['jekyll:development', 'less', 'uglify']
|
tasks: ['jekyll:development', 'less', 'cmq', 'cssmin', 'uglify']
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ pygments: true
|
|||||||
# --------------------
|
# --------------------
|
||||||
|
|
||||||
source: ./_src
|
source: ./_src
|
||||||
destination: ./_site
|
destination: ./generated
|
||||||
exclude: ['design', 'node_modules', 'less']
|
exclude: ['design', 'node_modules', 'less']
|
||||||
keep_files: ['media', 'gen']
|
keep_files: ['media', 'gen']
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user