2017-05-02 20:04:16 -04:00
|
|
|
module.exports = {
|
2017-06-01 11:27:35 -04:00
|
|
|
test: /\.js$/,
|
2017-06-23 12:21:33 -04:00
|
|
|
// include react-intl because transform-react-remove-prop-types needs to apply to it
|
2017-06-25 06:49:53 -04:00
|
|
|
exclude: {
|
|
|
|
test: /node_modules/,
|
|
|
|
exclude: /react-intl[\/\\](?!locale-data)/,
|
|
|
|
},
|
2017-05-05 22:18:23 -04:00
|
|
|
loader: 'babel-loader',
|
|
|
|
options: {
|
2017-05-20 11:31:47 -04:00
|
|
|
forceEnv: process.env.NODE_ENV || 'development',
|
|
|
|
},
|
|
|
|
};
|