Home page and news page are finished

This commit is contained in:
Jorit Tijsen committed 2024-03-13 12:37:09 +01:00
1 parent 55aa88c0f6
commit 2895ba283b
58 files changed
+3713 -31764

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
uglify: {
options: {
banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n'
},
build: {
src: 'public/js/functions.js',
dest: 'public/js/functions.min.js'
}
},
concat: {
js: {
src: ['resources/assets/js/functions/*.js'],
dest: 'public/js/functions.js'
}
},
watch: {
scripts: {
files: 'resources/assets/js/functions/*.js',
tasks: ['concat', 'uglify'],
options: {
interrupt: true,
},
},
},
});
// Load the plugin that provides the "uglify" task.
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-watch');
};