This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2017-05-02 17:04:16 -07:00
|
|
|
module.exports = {
|
2017-06-01 08:27:35 -07:00
|
|
|
test: /\.js$/,
|
2017-06-23 09:21:33 -07:00
|
|
|
// include react-intl because transform-react-remove-prop-types needs to apply to it
|
2017-06-25 03:49:53 -07:00
|
|
|
exclude: {
|
|
|
|
test: /node_modules/,
|
|
|
|
exclude: /react-intl[\/\\](?!locale-data)/,
|
|
|
|
},
|
2017-05-05 19:18:23 -07:00
|
|
|
loader: 'babel-loader',
|
|
|
|
options: {
|
2017-05-20 08:31:47 -07:00
|
|
|
forceEnv: process.env.NODE_ENV || 'development',
|
2017-07-17 20:06:31 -07:00
|
|
|
sourceRoot: 'app/javascript',
|
2017-05-20 08:31:47 -07:00
|
|
|
},
|
|
|
|
};
|