Webpack Externals Require Is Not Defined