Inline sourcemaps with babel


#1

Hi, I’ve got a .babelrc in the same dir as the package.json and am trying to use Inline sourcemaps with babel to help debugging accuracy.

But adding this doesn’t seem to help:

.babelrc

{
  "sourceMaps":"inline"
}

package:

{
  "name": "native-js-test-sandbox",
  "version": "1.0.0",
  "description": "This package.json allows us to pull in depencies without a build step, you just need to load steal",
  "main": "native/index.js",
  "keywords": [],
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "lodash": "^4.6.1"
  },
  "dependencies": {
    "moment": "^2.12.0",
    "steal": "^0.15.1"
  },
  "System": {
    "transpiler": "babel",
    "ext": {
      "es6": "$js"
    }
  }
}

#2

Having the same issue.


#3

use package.json babelOptions, the .babelrc is not ready by Steal. http://stealjs.com/docs/System.babelOptions.html