Skip to content

Commit

Permalink
removed source maps in sass and created the css task in grunt
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiosanches committed Sep 26, 2014
1 parent 5022a1a commit 0a8acae
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
11 changes: 9 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ module.exports = function( grunt ) {
// Compile all .scss files.
sass: {
compile: {
options: {
sourcemap: 'none'
},
files: [{
expand: true,
cwd: '<%= dirs.css %>/',
Expand Down Expand Up @@ -241,11 +244,15 @@ module.exports = function( grunt ) {

// Register tasks
grunt.registerTask( 'default', [
'sass',
'cssmin',
'css',
'uglify'
]);

grunt.registerTask( 'css', [
'sass',
'cssmin'
]);

grunt.registerTask( 'docs', [
'clean:apigen',
'shell:apigen'
Expand Down
2 changes: 1 addition & 1 deletion assets/css/admin.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/dashboard.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/css/menu.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/css/woocommerce.css

Large diffs are not rendered by default.

0 comments on commit 0a8acae

Please sign in to comment.