gobble-sorcery

Trace sourcemaps back to the original source, with sorcery and gobble

MIT 6 个版本
安装
npm install gobble-sorcery
yarn add gobble-sorcery
pnpm add gobble-sorcery
bun add gobble-sorcery
README

gobble-sorcery

Experimental integration with sorcery. Watch this space...

Normally, if you have steps in your build process that generate source maps - such as minification, or transpiling CoffeeScript to JavaScript - the sourcemap that accompanies the end result only maps back to the penultimate stage, rendering it effectively useless.

Sorcery traces mappings all the way back to the original source. The gobble-sorcery plugin automates this process and links everything together for you.

Installation

First, you need to have gobble installed - see the gobble readme for details. Then,

npm i -D gobble-sorcery

Usage

var gobble = require( 'gobble' );
module.exports = gobble( 'src/coffee' )
  .transform( 'coffee' )
  .transform( 'uglify' )
  .transform( 'sorcery' );

License

MIT. Copyright 2014 Rich Harris

版本列表
0.3.0 2015-04-11
0.2.5 2015-02-28
0.2.4 2015-02-09
0.2.3 2015-02-06
0.2.2 2015-01-03
0.1.0 2014-10-15