mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-25 15:07:57 +00:00
Added outSourceMap (but doesn't work)
This commit is contained in:
parent
a256d73e98
commit
e5a0ecc0fa
@ -11,7 +11,7 @@ var fs = require('fs'),
|
||||
gulp.task('build', function() {
|
||||
gulp.src(['./index.js'], {read: false}) // read false because browserify doesn't support streams when using standalone
|
||||
.pipe(browserify({
|
||||
standalone: 'mathjs' // TODO: standalone not supported when using streams
|
||||
standalone: 'mathjs'
|
||||
}))
|
||||
|
||||
.pipe(replace('@@date', today()))
|
||||
@ -21,6 +21,7 @@ gulp.task('build', function() {
|
||||
.pipe(gulp.dest('./dist'))
|
||||
|
||||
.pipe(uglify({
|
||||
outSourceMap: './math.js.map', // FIXME: source map seems not to work
|
||||
output: {
|
||||
comments: /@license/
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user