Files
coopgo/node_modules/topbar/Gruntfile.coffee
sgauthier 6e64e138e2
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
planning
2024-10-14 09:15:30 +02:00

13 lines
641 B
CoffeeScript

module.exports = (grunt) ->
grunt.loadNpmTasks "grunt-contrib-uglify"
grunt.initConfig
pkg: grunt.file.readJSON "package.json"
uglify:
options:
banner: '/*! <%= pkg.title || pkg.name %> <%= pkg.version %>, <%= grunt.template.today("yyyy-mm-dd") %>\n' +
'<%= pkg.homepage ? " * " + pkg.homepage + "\\n" : "" %>' +
' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>\n' +
' * Licensed under the <%= pkg.license %> License */\n'
build:
files: "topbar.min.js": ["topbar.js"]
grunt.registerTask "default", "uglify"