react-refetch
Version:
A simple, declarative, and composable way to fetch data for React components.
15 lines (11 loc) • 322 B
JavaScript
var webpack = require('webpack')
var baseConfig = require('./webpack.config.base')
var config = Object.create(baseConfig)
config.plugins = [
new webpack.optimize.OccurenceOrderPlugin(),
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify('development')
})
]
module.exports = config