parent
ce8853c0fa
commit
e1e510c308
4 changed files with 26 additions and 11 deletions
|
@ -56,15 +56,29 @@ module.exports = function(grunt) {
|
|||
}
|
||||
},
|
||||
sass: {
|
||||
options: {
|
||||
sourceMap: true,
|
||||
outputStyle: "compressed"
|
||||
},
|
||||
dist: {
|
||||
options: {
|
||||
style: "compressed"
|
||||
},
|
||||
files: {
|
||||
"build/style.css": "scss/main.scss"
|
||||
}
|
||||
}
|
||||
},
|
||||
postcss: {
|
||||
options: {
|
||||
map: true,
|
||||
processors: [
|
||||
require("autoprefixer")({
|
||||
browsers: ["last 2 versions"]
|
||||
})
|
||||
]
|
||||
},
|
||||
dist: {
|
||||
src: "build/style.css"
|
||||
}
|
||||
},
|
||||
cssmin: {
|
||||
target: {
|
||||
files: {
|
||||
|
@ -106,5 +120,6 @@ module.exports = function(grunt) {
|
|||
grunt.loadNpmTasks("grunt-bower-install-simple")
|
||||
grunt.loadNpmTasks("grunt-contrib-copy")
|
||||
grunt.loadNpmTasks("grunt-contrib-requirejs")
|
||||
grunt.loadNpmTasks("grunt-contrib-sass")
|
||||
grunt.loadNpmTasks("grunt-sass")
|
||||
grunt.loadNpmTasks("grunt-postcss")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue