grunt-cut-sourcemap

0.0.9 • Public • Published

grunt-cut-sourcemap

Cut source map and move to external file. I didn't want to make this but the two other projects I found didn't do anything.

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-cut-sourcemap --save-dev

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

grunt.loadNpmTasks('grunt-cut-sourcemap');

The "cut" task

Overview

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

grunt.initConfig({
  cut: {
    files: {
      'public/js/app.js': 'public/js/app.js'
    }
  }
})

Readme

Keywords

Package Sidebar

Install

npm i grunt-cut-sourcemap

Weekly Downloads

1

Version

0.0.9

License

none

Last publish

Collaborators

  • chrisabrams