Solution :
It's seems that it's due to the AssetMapper which is installed by default when creating a new webapp project.
If you prefer to use webpack to manage your assets, follow the link below to the documentation to switch from AssetMapper to Webpack properly :
https://symfony.com/doc/current/frontend.html#switch-from-assetmapper