babel / example-node-server

Example Node Server w/ Babel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webstorm support

mathew-kurian opened this issue · comments

Not an issue; just a recommendation (maybe).

If the sourcemaps are modified slightly, you can get Webstorm and Babel to work very well in the same folder. This way, you can potentially avoid the /dist folder. In fact, the Webstorm Debugger works on breakpoints on either the compiled or the es6 files. NOTE: Using find/replace (naive I know), we can make sure that all import '*.es6' file dependencies are changed to the import '*.compiled.js' files.

screenshot 2016-02-21 23 49 22

I think its just easier for people to grok compiling an entire directory into another, you would need other tools to do it the way you suggest.

Thanks though!