grunt-includejs

0.1.5 • Public • Published

grunt-includejs

include.js is a node preprocessor for including one JavaScript files into another by "@include" operator. It's a fork of wepp module.

Getting Started

This plugin requires Grunt ~0.4.1

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-includejs --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-includejs');

The "includejs" task

Overview

In your project's Gruntfile, add a section named includejs to the data object passed into grunt.initConfig().

grunt.initConfig({
  includejs: {
    your_target: {
      'dest_file.js': 'src_file.js'
    },
  },
})

Release History

16.06.2013: 0.1.0

Readme

Keywords

none

Package Sidebar

Install

npm i grunt-includejs

Weekly Downloads

0

Version

0.1.5

License

MIT

Last publish

Collaborators

  • alright