From 1ca3b3df3421961caec3b747a364071c80f5c7da Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 17:14:58 +0700 Subject: initial commit --- .../lib/bootstrap-toggle-master/Gruntfile.js | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 base_accounting_kit/static/lib/bootstrap-toggle-master/Gruntfile.js (limited to 'base_accounting_kit/static/lib/bootstrap-toggle-master/Gruntfile.js') diff --git a/base_accounting_kit/static/lib/bootstrap-toggle-master/Gruntfile.js b/base_accounting_kit/static/lib/bootstrap-toggle-master/Gruntfile.js new file mode 100644 index 0000000..9ac6fc5 --- /dev/null +++ b/base_accounting_kit/static/lib/bootstrap-toggle-master/Gruntfile.js @@ -0,0 +1,37 @@ +module.exports = function(grunt) { + 'use strict'; + + grunt.initConfig({ + clean: ['dist'], + uglify: { + options: { + preserveComments: 'some', + sourceMap: true + }, + build: { + expand: true, + cwd: 'js', + src: ['**/*.js', ['!**/*.min.js']], + dest: 'js', + ext: '.min.js', + } + }, + cssmin: { + options: { + keepBreaks: true + }, + build: { + expand: true, + cwd: 'css', + src: ['**/*.css', ['!**/*.min.css']], + dest: 'css', + ext: '.min.css', + } + } + }); + grunt.loadNpmTasks('grunt-contrib-clean'); + grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-cssmin'); + grunt.registerTask('default', ['clean', 'uglify', 'cssmin']); + +}; \ No newline at end of file -- cgit v1.2.3