Is it possible to get Webpack source maps into Meteor?


#1

I’m using Webpack to build a Reactjs frontend. It creates a bundle and a source map, and the bundle gets served up by Meteor. However, the source map for the bundle doesn’t seem to make it to the browser.

Does anyone know if it’s possible to get Meteor to serve the source map as is?

I’m hoping someday that Meteor devs replace the current global/local variable scheme and load order with Webpack-like require() or ES6 import capability. If that ever happens I wouldn’t need Webpack anymore.

Thanks!