errbuddy / babel-asset-pipeline

babel.js transformation for asset-pipeline
10 stars 6 forks source link

Give babel asset filenames, allows sourceMaps. #13

Closed kevana closed 8 years ago

kevana commented 8 years ago

Tried enabling source maps, ran into this

{
  "version": 3,
  "sources": ["unknown"],
  "names": [],
  ....
}

Chrome and Firefox didn't like the unknown source. Giving Babel the filename to generate sourceMaps with works for inline maps:

{
  "version":3,
  "sources": ["foo.js"],
  "names": [],
  ...
}
kevana commented 8 years ago

Don't merge yet, only works if moduleIds is set

kevana commented 8 years ago

Ok, should be good to go now.

peh commented 8 years ago

thanks! released with 2.4.5