This website works better with JavaScript.
Home
Explore
Help
Sign In
jyt94
/
closedSocialMastodon
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Apply babel to react-intl to remove prop-types (
#3914
)
closed-social-v3
Nolan Lawson
7 years ago
committed by
Eugen Rochko
parent
a071047c13
commit
3783cadf2d
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
config/webpack/loaders/babel.js
+ 2
- 1
config/webpack/loaders/babel.js
View File
@ -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'
,
Write
Preview
Loading…
Cancel
Save