Initial UI cleanup
- added assets_shared submodule - added support for grunt - cleanup of layout.html
This commit is contained in:
31
Gruntfile.js
Normal file
31
Gruntfile.js
Normal file
@@ -0,0 +1,31 @@
|
||||
module.exports = function(grunt) {
|
||||
grunt.initConfig({
|
||||
pkg: grunt.file.readJSON('package.json'),
|
||||
|
||||
sass: {
|
||||
dist: {
|
||||
options: {
|
||||
style: 'compressed'
|
||||
},
|
||||
files: {
|
||||
'public_html/assets/css/main.css': 'public_html/assets/sass/main.sass'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
autoprefixer: {
|
||||
no_dest: { src: 'public_html/assets/css/main.css' }
|
||||
},
|
||||
|
||||
watch: {
|
||||
files: ['public_html/assets/sass/main.sass'],
|
||||
tasks: ['sass', 'autoprefixer'],
|
||||
}
|
||||
});
|
||||
|
||||
grunt.loadNpmTasks('grunt-contrib-sass');
|
||||
grunt.loadNpmTasks('grunt-autoprefixer');
|
||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||
|
||||
grunt.registerTask('default', ['sass', 'autoprefixer', 'watch']);
|
||||
};
|
Reference in New Issue
Block a user