Webpack Imported Module Is Not A Constructor