mirror of
https://github.com/friendica/friendica
synced 2025-05-21 06:24:12 +02:00
Frio: implent switcher element
This commit is contained in:
parent
7f7fe1c332
commit
96dfd22d9d
19 changed files with 994 additions and 4 deletions
37
view/theme/frio/frameworks/bootstrap-toggle/Gruntfile.js
Normal file
37
view/theme/frio/frameworks/bootstrap-toggle/Gruntfile.js
Normal file
|
@ -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']);
|
||||
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue