# Inline sourcemaps with babel

**URL:** https://forums.bitovi.com/t/inline-sourcemaps-with-babel/197
**Category:** StealJS
**Created:** [March 23, 2016, 3:10pm UTC](https://forums.bitovi.com/t/inline-sourcemaps-with-babel/197 "2016-03-23T15:10:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![QuantumInformation](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/quantuminformation/32/113_2.png) [@QuantumInformation](https://forums.bitovi.com/u/QuantumInformation)
#### Post date: [March 23, 2016, 3:10pm UTC](https://forums.bitovi.com/t/inline-sourcemaps-with-babel/197/1 "2016-03-23T15:10:06Z")

</div>

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

```auto
{
  "sourceMaps":"inline"
}

```

package:

```auto
{
  "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"
    }
  }
}

```

---

<div class="post-metadata">

### Author: ![basickarl](https://avatars.discourse-cdn.com/v4/letter/b/e19b73/32.png) [@basickarl](https://forums.bitovi.com/u/basickarl)
#### Post date: [December 2, 2016, 2:28pm UTC](https://forums.bitovi.com/t/inline-sourcemaps-with-babel/197/2 "2016-12-02T14:28:42Z")

</div>

Having the same issue.

---

<div class="post-metadata">

### Author: ![matthewp](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/matthewp/32/77_2.png) [@matthewp](https://forums.bitovi.com/u/matthewp)
#### Post date: [December 5, 2016, 10:09pm UTC](https://forums.bitovi.com/t/inline-sourcemaps-with-babel/197/3 "2016-12-05T22:09:25Z")

</div>

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