2021-05-07 15:29:26 +00:00
|
|
|
module.exports = {
|
2021-10-10 10:32:28 +00:00
|
|
|
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: {},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
2021-05-07 15:29:26 +00:00
|
|
|
}
|