This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
grunt-jsmin-sourcemap with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Grunt task for JSMin and source maps.
Grunt is a node.js based CLI build tool.
When you combine all three of these, you get a grunt plugin that is your new best debugging friend.
The demos in the node-jsmin-sourcemap, what makes this tick, are hosted on Plunker for your testing and enjoyment.
Install this grunt plugin next to your project's grunt.js gruntfile with:
npm install grunt-jsmin-sourcemap
Then add this line to your project's
grunt-jsmin-sourcemap is registered under the
jsmin-sourcemap task. Your initConfig should look similar to this:
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint via grunt and test via
As of Dec 05 2013, Todd Wolfson has released this repository and its contents to the public domain.
It has been released under the UNLICENSE.
Previous to this, it was licensed under the MIT license.