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