mirror of
https://github.com/netzbegruenung/jitsi-meet-electron.git
synced 2024-05-04 09:43:42 +02:00
Replace unmaintained SVG plugin
This commit is contained in:
parent
87d63155a6
commit
09345d6f0b
1737
package-lock.json
generated
1737
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -128,9 +128,9 @@
|
|||
"@babel/preset-env": "7.9.0",
|
||||
"@babel/preset-flow": "7.9.0",
|
||||
"@babel/preset-react": "7.9.4",
|
||||
"@svgr/webpack": "^5.4.0",
|
||||
"babel-eslint": "10.0.3",
|
||||
"babel-loader": "8.1.0",
|
||||
"babel-plugin-inline-react-svg": "1.1.1",
|
||||
"concurrently": "5.1.0",
|
||||
"css-loader": "3.5.0",
|
||||
"devtron": "1.4.0",
|
||||
|
|
|
@ -41,12 +41,9 @@ module.exports = {
|
|||
require.resolve('@babel/preset-react')
|
||||
],
|
||||
plugins: [
|
||||
/* eslint-disable max-len */
|
||||
require.resolve('@babel/plugin-transform-flow-strip-types'),
|
||||
require.resolve('@babel/plugin-proposal-class-properties'),
|
||||
require.resolve('@babel/plugin-proposal-export-namespace-from'),
|
||||
/* eslint-enable max-len */
|
||||
require.resolve('babel-plugin-inline-react-svg')
|
||||
require.resolve('@babel/plugin-proposal-export-namespace-from')
|
||||
]
|
||||
},
|
||||
test: /\.js$/
|
||||
|
@ -63,8 +60,14 @@ module.exports = {
|
|||
test: /\.png$/
|
||||
},
|
||||
{
|
||||
loader: 'svg-inline-loader',
|
||||
test: /\.svg$/
|
||||
test: /\.svg$/,
|
||||
use: [ {
|
||||
loader: '@svgr/webpack',
|
||||
options: {
|
||||
dimensions: false,
|
||||
expandProps: 'start'
|
||||
}
|
||||
} ]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue