diff --git a/docs/get-started/get-started.md b/docs/get-started/get-started.md index 2e46f23b..d9521479 100644 --- a/docs/get-started/get-started.md +++ b/docs/get-started/get-started.md @@ -108,3 +108,19 @@ module.exports = { ] }; ``` + +In Next.js: + +```js +// next.config.js +const nextConfig = { + // ... + webpack: (config) => { + config.resolve.alias = { + ...config.resolve.alias, + 'mapbox-gl': 'maplibre-gl', + }; + // ... + } +}; +```