mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Apply babel to react-intl to remove prop-types (#3914)
This commit is contained in:
parent
a071047c13
commit
3783cadf2d
@ -1,6 +1,7 @@
|
||||
module.exports = {
|
||||
test: /\.js$/,
|
||||
exclude: /node_modules/,
|
||||
// include react-intl because transform-react-remove-prop-types needs to apply to it
|
||||
exclude: /node_modules\/(?!react-intl)/,
|
||||
loader: 'babel-loader',
|
||||
options: {
|
||||
forceEnv: process.env.NODE_ENV || 'development',
|
||||
|
Loading…
Reference in New Issue
Block a user