闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
315 B

  1. module.exports = {
  2. test: /\.js$/,
  3. // include react-intl because transform-react-remove-prop-types needs to apply to it
  4. exclude: {
  5. test: /node_modules/,
  6. exclude: /react-intl[\/\\](?!locale-data)/,
  7. },
  8. loader: 'babel-loader',
  9. options: {
  10. forceEnv: process.env.NODE_ENV || 'development',
  11. },
  12. };