18a9c7e371
* Update `packages/` * Update examples * Update tests * Update bench * Update top level files * Fix build * trigger
16 lines
334 B
JavaScript
16 lines
334 B
JavaScript
const webpack = require('webpack')
|
|
|
|
module.exports = {
|
|
webpack: (config, { buildId, dev, isServer, defaultLoaders }) => {
|
|
const { plugins } = config
|
|
return {
|
|
...config,
|
|
plugins: [
|
|
...(plugins || []),
|
|
new webpack.ProvidePlugin({
|
|
Glamor: 'glamor/react',
|
|
}),
|
|
],
|
|
}
|
|
},
|
|
}
|