Hello Thomas Leclaire, hello Sujit Daswant,
now you can use my newly released npm package @spfxappdev/cli. This package is a command-line utility that modifies your SharePoint Framework solution so that you can use the versioning logic described above without additional modifications. You can use "alias" paths instead of relative paths. Also, an automatic "version increment" task (gulp) is included and you can build, version, bundle and package the solution with just one npm command.
A blog post will follow in the next few days.