mirror of
https://github.com/wassname/side-by-side.git
synced 2026-09-09 11:34:24 +08:00
Grunt stylus with smartness
This commit is contained in:
+5
-10
@@ -139,16 +139,6 @@ module.exports = (grunt) ->
|
||||
}
|
||||
}
|
||||
|
||||
stylus: {
|
||||
main: {
|
||||
expand: true
|
||||
cwd: 'source'
|
||||
src: '**/*.styl'
|
||||
dest: 'build'
|
||||
ext: '.css'
|
||||
}
|
||||
}
|
||||
|
||||
uglify: {
|
||||
min: {
|
||||
files: {
|
||||
@@ -210,6 +200,11 @@ module.exports = (grunt) ->
|
||||
ext: '.html'
|
||||
})
|
||||
|
||||
grunt.config 'stylus', add([['main', {
|
||||
src: '**/*.styl'
|
||||
ext: '.css'
|
||||
}]])
|
||||
|
||||
# Load tasks
|
||||
grunt.loadNpmTasks('grunt-contrib-coffee');
|
||||
grunt.loadNpmTasks('grunt-contrib-connect');
|
||||
|
||||
Reference in New Issue
Block a user