I'm trying to move to WebStorm (which I'm currently evaluating as a ST3 replacement) the following gulp workflow:
- upon each file save
- transpile with babel
- inline sourcemaps
- rename file from file.es6.js to file.js
- move it from
src/
tree todist/
directory tree.
I've tried messing with it, for example:
--source-maps inline --stage 1 --out-dir dist/
gets me some results, but not renamed, and with $FileNameWithoutExtension$
I don't even know how to look into, extract that es6.
part and remove it.