obs-portal/frontend/craco.config.js
2021-11-22 09:50:33 +01:00

19 lines
440 B
JavaScript

module.exports = {
plugins: [
{plugin: require('@semantic-ui-react/craco-less')},
{
plugin: {
overrideWebpackConfig: ({webpackConfig, cracoConfig, pluginOptions, context: {env, paths}}) => {
webpackConfig.resolve.alias = {
...webpackConfig.resolve.alias,
'mapbox-gl': 'maplibre-gl',
}
return webpackConfig
},
options: {},
},
},
],
}