cli browserify generating source maps

This commit is contained in:
Radek Stepan 2014-10-19 12:09:48 -07:00
parent 760462dfac
commit 23b8690ef5
5 changed files with 15 additions and 5 deletions

View File

@ -79,8 +79,8 @@ module.exports = (grunt) ->
grunt.loadNpmTasks('grunt-contrib-clean')
grunt.registerTask('default', [
'clean'
'browserify'
#'clean'
#'browserify'
'stylus'
'concat'
])

View File

@ -3,6 +3,7 @@ install:
bower install
build:
./node_modules/.bin/browserify -e ./src/app.coffee -o public/js/app.js -d
grunt
watch:

View File

@ -74,6 +74,7 @@
- [ ] `rails/rails/24` has issues in two clusters as if merged from two milestones
- [ ] trendline cutting into axes
- [ ] Browserify does not generate source maps
###Error Handling

View File

@ -13,11 +13,18 @@
"grunt-contrib-watch": "~0.6.1",
"grunt-watchify": "~0.1.0",
"coffeeify": "~0.7.0L",
"ractivate": "~0.2.0"
"ractivate": "~0.2.0",
"browserify": "~6.1.0"
},
"repository": {
"type": "git",
"url": "git://github.com/radekstepan/burnchart.io.git"
},
"author": "Radek <dev@radekstepan.com>"
"author": "Radek <dev@radekstepan.com>",
"browserify": {
"transform": [
"coffeeify",
"ractivate"
]
}
}

File diff suppressed because one or more lines are too long