Modified some styles; more bootstrap 5 changes; added logo
This commit is contained in:
22
Gruntfile.js
22
Gruntfile.js
@@ -35,6 +35,17 @@ module.exports = function (grunt) {
|
||||
},
|
||||
},
|
||||
|
||||
copy: {
|
||||
images: {
|
||||
files: [{
|
||||
expand: true,
|
||||
cwd: 'assets/img/',
|
||||
src: '**/*',
|
||||
dest: 'public/img/'
|
||||
}]
|
||||
}
|
||||
},
|
||||
|
||||
watch: {
|
||||
css: {
|
||||
files: ["assets/styles/**/*.scss"],
|
||||
@@ -52,6 +63,14 @@ module.exports = function (grunt) {
|
||||
spawn: false,
|
||||
},
|
||||
},
|
||||
img: {
|
||||
files: ["assets/img/**/*"],
|
||||
tasks: ["copy:images"],
|
||||
options: {
|
||||
atBegin: true,
|
||||
spawn: false,
|
||||
}
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
@@ -59,7 +78,8 @@ module.exports = function (grunt) {
|
||||
grunt.loadNpmTasks("grunt-contrib-watch");
|
||||
grunt.loadNpmTasks("grunt-contrib-sass");
|
||||
grunt.loadNpmTasks("grunt-contrib-uglify");
|
||||
grunt.loadNpmTasks("grunt-contrib-copy");
|
||||
|
||||
// CLI tasks.
|
||||
grunt.registerTask("default", ["sass", "uglify"]);
|
||||
grunt.registerTask("default", ["sass", "uglify", "copy:images"]);
|
||||
};
|
||||
|
Reference in New Issue
Block a user