grunt-footer

Add a footer to files

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
grunt-footer
301.1.07 years ago9 years agoMinified + gzip package size for grunt-footer in KB

Readme

grunt-footer Build Status
Add a footer to files

Install

$ npm install --save-dev grunt-footer

Usage

require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks

grunt.initConfig({
	info: 'footer text',
	footer: {
		dist: {
			options: {
				text: '<%= info %>'
			},
			files: {
				'dist/main.js': 'src/main.js'
			}
		}
	}
});

grunt.registerTask('default', ['footer']);

Options

text

Type: string
Text to be appended to files.

License

MIT © Sindre Sorhus