shuji
shuji copied to clipboard
Create original directory structure
Firstly, Great job, Very useful tool. I just have one question which would make this tool the best thing since beer!
Is it possible to have this create the original directory structure as oppose to creating all the files in the current working directory?
For example, Once i run: shuji -v app.bundle.js.map
i get an sample file app.js
and that sample file contains this:
import React from 'react'; import Select from 'components/form/Select';
... ... ...
// WEBPACK FOOTER // // ./app/webpack/react/components/Form/Form.js
Would it be possible to restore these files to the correct directory based on parsing the webpack footer text or using the import from?
Look forward to answer, Thanks.
It could be done by adding an option which would either be --flat or --directory-structure, or to that direction..
Want to make a PR?
Ouh, there is a forgotten #4 by @mkubenka
I hope we get this soon :) this project rocks!
Please try with v0.8.0