|
|
@ -1,3 +1,5 @@
|
|
|
|
|
|
|
|
const { resolve } = require('path');
|
|
|
|
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
module.exports = {
|
|
|
|
test: /\.js$/,
|
|
|
|
test: /\.js$/,
|
|
|
|
// include react-intl because transform-react-remove-prop-types needs to apply to it
|
|
|
|
// include react-intl because transform-react-remove-prop-types needs to apply to it
|
|
|
@ -8,5 +10,6 @@ module.exports = {
|
|
|
|
loader: 'babel-loader',
|
|
|
|
loader: 'babel-loader',
|
|
|
|
options: {
|
|
|
|
options: {
|
|
|
|
forceEnv: process.env.NODE_ENV || 'development',
|
|
|
|
forceEnv: process.env.NODE_ENV || 'development',
|
|
|
|
|
|
|
|
cacheDirectory: resolve(__dirname, '..', '..', '..', 'tmp', 'cache', 'babel-loader'),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
|