This is a follow-up of
request #13299.
Now that all SCSS build has been unified under one tool, we should do the same for javascript build, again to not have 2 ways of doing the same thing.
This will also let us apply shared configurations for all Javascript webpack configs.