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