mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-18 21:03:27 +00:00
Do not use @babel/preset-env to compile node_modules (#10289)
This commit is contained in:
parent
d5c79975ea
commit
1a0d3c9c65
|
@ -10,9 +10,6 @@ module.exports = {
|
||||||
loader: 'babel-loader',
|
loader: 'babel-loader',
|
||||||
options: {
|
options: {
|
||||||
babelrc: false,
|
babelrc: false,
|
||||||
presets: [
|
|
||||||
['@babel/env', { modules: false }],
|
|
||||||
],
|
|
||||||
plugins: [
|
plugins: [
|
||||||
'transform-react-remove-prop-types',
|
'transform-react-remove-prop-types',
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue