summaryrefslogtreecommitdiff
path: root/base_accounting_kit/static/lib/bootstrap-toggle-master/Gruntfile.js
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 17:14:58 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 17:14:58 +0700
commit1ca3b3df3421961caec3b747a364071c80f5c7da (patch)
tree6778a1f0f3f9b4c6e26d6d87ccde16e24da6c9d6 /base_accounting_kit/static/lib/bootstrap-toggle-master/Gruntfile.js
parentb57188be371d36d96caac4b8d65a40745c0e972c (diff)
initial commit
Diffstat (limited to 'base_accounting_kit/static/lib/bootstrap-toggle-master/Gruntfile.js')
-rw-r--r--base_accounting_kit/static/lib/bootstrap-toggle-master/Gruntfile.js37
1 files changed, 37 insertions, 0 deletions
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