Fighting with multi-stage sourcemaps with power-assert.
- git clone
- npm install
- gulp help or grunt --help
- gulp [one of scenario] or grunt [one of scenario]
- gulp serve
- visit http://localhost:9001/build
SourceMap transform chain by twada · Pull Request #4 · twada/espowerify
language | 1st transform | 2nd transform | output | Chrome | Firefox | note |
---|---|---|---|---|---|---|
js | espowerify | OK | OK | OK | ||
ES6 | es6ify | espowerify | NG | N/A | N/A | please use babelify and babel-plugin-espower instead |
ES6 | babelify | espowerify | NG | N/A | N/A | please use with babel-plugin-espower |
ES6 | babelify (with babel-plugin-espower) | OK | OK | OK | ||
coffee | coffeeify | espowerify | OK | OK | OK | |
js & coffee mixed | coffeeify | espowerify | OK | OK | OK | |
TypeScript(ts) | tsify | espowerify | OK | OK | OK | |
js & ts mixed | tsify | espowerify | OK | OK | OK | |
js & ts & coffee | tsify, coffeeify | espowerify | OK | OK | OK |
espowerify 0.9.0 is now landed!
gulp-sourcemaps support by twada · Pull Request #2 · twada/gulp-espower
language | 1st transform | 2nd transform | 3rd transform | output | Chrome | Firefox |
---|---|---|---|---|---|---|
JavaScript | gulp-espower | OK | OK | OK | ||
JavaScript | gulp-concat | gulp-espower | OK | OK | OK | |
JavaScript | gulp-espower | gulp-concat | OK | OK | OK | |
ES6 | gulp-babel (with babel-plugin-espower) | OK | OK | OK | ||
ES6 | gulp-babel (with babel-plugin-espower) | gulp-concat | OK | OK | OK | |
CoffeeScript | gulp-coffee | gulp-espower | OK | OK | OK | |
CoffeeScript | gulp-coffee(with sourceRoot) | gulp-espower | OK | OK | OK | |
CoffeeScript | gulp-coffee | gulp-concat | gulp-espower | OK | OK | OK |
CoffeeScript | gulp-coffee | gulp-espower | gulp-concat | OK | OK | OK |
TypeScript | gulp-tsc | gulp-espower | ERROR | N/A | N/A | |
TypeScript | gulp-tsc(with out option) | gulp-espower | ERROR | N/A | N/A | |
TypeScript | gulp-tsc | gulp-espower | gulp-concat | ERROR | N/A | N/A |
TypeScript | gulp-typescript | gulp-espower | OK | OK | OK | |
TypeScript | gulp-typescript | gulp-concat | gulp-espower | OK | OK | OK |
TypeScript | gulp-typescript | gulp-espower | gulp-concat | OK | OK | OK |
gulp-espower 0.9.0 is now landed!
support multistage sourcemap by vvakame · Pull Request #2 · twada/grunt-espower
language | 1st transform | 2nd transform | 3rd transform | output | Chrome | Firefox |
---|---|---|---|---|---|---|
JavaScript | grunt-espower | OK | OK | OK | ||
JavaScript | grunt-espower | grunt-contrib-concat | OK | OK | OK | |
JavaScript | grunt-contrib-concat | grunt-espower | OK | OK | OK | |
JavaScript | grunt-contrib-concat(sourceMapStype:inline) | grunt-espower | OK | OK | OK | |
CoffeeScript | grunt-contrib-coffee | grunt-espower | OK | OK | OK | |
CoffeeScript | grunt-contrib-coffee | grunt-espower | grunt-contrib-concat | OK | OK | OK |
CoffeeScript | grunt-contrib-coffee | grunt-contrib-concat | grunt-espower | OK | OK | OK |
CoffeeScript | grunt-contrib-coffee | grunt-contrib-concat(sourceMapStype:inline) | grunt-espower | OK | OK | OK |
TypeScript | grunt-ts | grunt-espower | OK | OK | OK | |
TypeScript | grunt-ts (with out ) |
grunt-espower | OK | OK | OK | |
TypeScript | grunt-ts | grunt-espower | grunt-contrib-concat | OK | OK | OK |
TypeScript | grunt-ts | grunt-contrib-concat | grunt-espower | OK | OK | OK |
TypeScript | grunt-ts | grunt-contrib-concat(sourceMapStype:inline) | grunt-espower | OK | OK | OK |
grunt-espower 0.9.0 is now landed!
- power-assert 多段 SourceMap 対応の方針
- Source Mapを扱う関連ライブラリのまとめ | Web Scratch
- Compiling to JavaScript, and Debugging with Source Maps ✩ Mozilla Hacks – the Web developer blog
- mozilla/source-map
- thlorenz/convert-source-map
- azu/multi-stage-sourcemap
- thlorenz/mold-source-map
- evanw/node-source-map-support
- How to Enable Source Maps in Firefox? - CodeProject
- browserify v2 adds source maps
- jnordberg/coffeeify
- thlorenz/es6ify
- babel/babelify
- smrq/tsify
- Source maps not working with Firefox · Issue #681 · substack/node-browserify -> use mold-source-map
- gulp - Browserify source map only makes the root file accesible (caused by absolute path names) - Stack Overflow -> use mold-source-map