mirror of
https://github.com/google-map-react/google-map-react.git
synced 2025-12-08 18:26:32 +00:00
* Create our own createHelper, its not in recompose anymore * Use our withStateSelector * Proper apiKey usage * Replace apiKey with bootstrapUrlKeys * No need of true value in html * Use lodash.omit instead in dev * Remove unused file * Remove unnecessary extra folder utils * Upgrade recompose again * Oops! Move lodash.omit to devDependencies * Fix webpack files styles * Make examples bigger in width
28 lines
496 B
JavaScript
28 lines
496 B
JavaScript
const reactExternal = {
|
|
root: 'React',
|
|
commonjs2: 'react',
|
|
commonjs: 'react',
|
|
amd: 'react',
|
|
};
|
|
|
|
const reactDomExternal = {
|
|
root: 'ReactDOM',
|
|
commonjs2: 'react-dom',
|
|
commonjs: 'react-dom',
|
|
amd: 'react-dom',
|
|
};
|
|
|
|
module.exports = {
|
|
output: {
|
|
library: 'GoogleMapReact',
|
|
libraryTarget: 'umd',
|
|
},
|
|
externals: {
|
|
react: reactExternal,
|
|
'react-dom': reactDomExternal,
|
|
},
|
|
module: {
|
|
loaders: [{ test: /\.js$/, exclude: /node_modules/, loader: 'babel' }],
|
|
},
|
|
};
|