Skip to content

Commit

Permalink
feat: add Sass implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
zvuc committed Jun 4, 2020
1 parent a558315 commit 7ceb880
Show file tree
Hide file tree
Showing 18 changed files with 946 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules/
_ignore/
_ignore/
build-sass/
22 changes: 21 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,22 @@ module.exports = function(grunt) {
}
},

// Sass
'dart-sass': {
options: {
sourceMap: false
},
main: {
files: [{
expand: true,
flatten: true,
src: ["sass/tuesday.scss"],
ext: ".css",
dest: "build-sass"
}]
}
},

// postcss
postcss: {
// autoprefixer
Expand Down Expand Up @@ -156,8 +172,12 @@ module.exports = function(grunt) {
'usebanner:full', 'usebanner:compact',
'usebanner:legacyfull', 'usebanner:legacycompact',
]);
grunt.registerTask('build-sass', [
'dart-sass',
'postcss:autoprefixer', 'postcss:nano'
]);
grunt.registerTask('dev', [
'watch'
]);

}
}
1 change: 0 additions & 1 deletion build/tuesday.legacy.min.css

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion build/tuesday.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit 7ceb880

Please sign in to comment.