import { WebpackConfigPart } from '../types' ; const packageWebpackConfig = { output : { libraryTarget : 'umd' , libraryExport : 'default' , umdNamedDefine : true , globalObject : 'this' , } , externals : { /**
         * Don't bundling these packages because these packages will be used as a peerDependencies and
         * imported from the client which should install these by himself.
         *
         * Thats needed to avoid multiple versions of these packages in the same client bundle.
         */ react : 'react' , 'react-dom' : 'react-dom' , } , } ; export default packageWebpackConfig ;