Move webpack config declaration to the helper