ES6, import, and source map support on server thanks to Webpack/node-source-map-support!

Hi all,

Today I figured out how to get server-side source maps for Webpack bundles in the meteor-webpack-react app skeleton, thanks to node-source-map-support! It even appears to work properly with node-inspector. Previously the lack of source maps was the one major downside to using Webpack on the server side.

This provides the most complete possible ES6 environment on the server-side right now, as far as I know, including the ability to import (or require) local files and core node modules. This has been a high priority for me to keep my code as clean as possible.

4 Likes

@dgreensp you might be interested in this!

Thanks, I’ll check it out!