dependabot[bot] 94b24287be chore(deps-dev): Bump vite from 8.2.2 to 8.3.0 (#2161)
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some
time.

Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite)
from 8.2.2 to 8.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/releases">vite's
releases</a>.</em></p>
<blockquote>
<h2>create-vite@8.3.0</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/create-vite@8.3.0/packages/create-vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
<h2>v8.3.0</h2>
<h3>Features</h3>
<ul>
<li><strong>build:</strong> avoid settling seen preload dependencies for
performance (<a
href="https://redirect.github.com/vitejs/vite/issues/23446">#23446</a>)
(<a
href="https://github.com/vitejs/vite/commit/e6f6b3e3119256daa837b2dc399058c8aa45b470">e6f6b3e</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>handle CRLF line endings in code frame positions (<a
href="https://redirect.github.com/vitejs/vite/issues/23219">#23219</a>)
(<a
href="https://github.com/vitejs/vite/commit/9913672bee9c34a2df7fff4c2538783cd4f43b4e">9913672</a>)</li>
<li>only treat whole <code>node_modules</code> path segments as
dependencies (fix <a
href="https://redirect.github.com/vitejs/vite/issues/17467">#17467</a>)
(<a
href="https://redirect.github.com/vitejs/vite/issues/23437">#23437</a>)
(<a
href="https://github.com/vitejs/vite/commit/ef0dc17ada53d1169ae5a89cb8f6482831466755">ef0dc17</a>)</li>
</ul>
<h3>Performance Improvements</h3>
<ul>
<li><strong>proxy:</strong> pre-compile context matchers at server
creation (<a
href="https://redirect.github.com/vitejs/vite/issues/23263">#23263</a>)
(<a
href="https://github.com/vitejs/vite/commit/8abf700eeb2411d8402d08f8e2696effafdbe774">8abf700</a>)</li>
</ul>
<h2>v8.3.0-beta.1</h2>
<h3>Features</h3>
<ul>
<li><strong>devtools:</strong> enable dev server integration (<a
href="https://redirect.github.com/vitejs/vite/issues/23333">#23333</a>)
(<a
href="https://github.com/vitejs/vite/commit/68aeb8a3b5a5a2ccd505288999bae1a5e6942ee1">68aeb8a</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><strong>build:</strong> keep hash placeholders as-is in
<code>resolveFileUrl</code> hook (<a
href="https://redirect.github.com/vitejs/vite/issues/23422">#23422</a>)
(<a
href="https://github.com/vitejs/vite/commit/e8d6a4d3399c739772080d70c7f3c4d548a637c9">e8d6a4d</a>)</li>
<li><strong>bundled-dev:</strong> mark payload delivered on client
report (<a
href="https://redirect.github.com/vitejs/vite/issues/23373">#23373</a>)
(<a
href="https://github.com/vitejs/vite/commit/a6d43bc9e3464faa4d49f090e75e1ab334ffb7b0">a6d43bc</a>)</li>
<li><strong>deps:</strong> update all non-major dependencies (<a
href="https://redirect.github.com/vitejs/vite/issues/23445">#23445</a>)
(<a
href="https://github.com/vitejs/vite/commit/fc7c104e74d35a97fa313d5dd6f1b5e7d5b26159">fc7c104</a>)</li>
<li><strong>html:</strong> don't inline preload link targets (fix <a
href="https://redirect.github.com/vitejs/vite/issues/13355">#13355</a>)
(<a
href="https://redirect.github.com/vitejs/vite/issues/23387">#23387</a>)
(<a
href="https://github.com/vitejs/vite/commit/12e709ca4df1059747db1cb7c5d1cd71aba79a24">12e709c</a>)</li>
<li>resolve the actual package root in findNearestMainPackageData for
nested package.json (<a
href="https://redirect.github.com/vitejs/vite/issues/23356">#23356</a>)
(<a
href="https://github.com/vitejs/vite/commit/8492422b8f110625a90c702f42f30784e8cf19dc">8492422</a>)</li>
<li>shortcuts extend error (<a
href="https://redirect.github.com/vitejs/vite/issues/23447">#23447</a>)
(<a
href="https://github.com/vitejs/vite/commit/4ec58d159df4a1b4799356a1fda62db88ed14752">4ec58d1</a>)</li>
</ul>
<h3>Miscellaneous Chores</h3>
<ul>
<li>introducing <code>@e18e/eslint-plugin</code> (<a
href="https://redirect.github.com/vitejs/vite/issues/23357">#23357</a>)
(<a
href="https://github.com/vitejs/vite/commit/f79413353995a2344879014410a9128b1b9f8e9a">f794133</a>)</li>
<li>remove unnecessary comment (<a
href="https://redirect.github.com/vitejs/vite/issues/23448">#23448</a>)
(<a
href="https://github.com/vitejs/vite/commit/b919a1a8b5a7c694667f993d677973f42d349458">b919a1a</a>)</li>
</ul>
<h2>v8.3.0-beta.0</h2>
<h3>Features</h3>
<ul>
<li>accept Rolldown watch options in <code>server.watch</code> (<a
href="https://redirect.github.com/vitejs/vite/issues/23133">#23133</a>)
(<a
href="https://github.com/vitejs/vite/commit/1b5cfe3d3777d4ceb7f35fcee9d3c4279316a084">1b5cfe3</a>)</li>
<li>add closeServer and closePreviewServer hooks (<a
href="https://redirect.github.com/vitejs/vite/issues/23110">#23110</a>)
(<a
href="https://github.com/vitejs/vite/commit/e17d2d565b0288f169c7995adb2b192f917548e7">e17d2d5</a>)</li>
<li>add top-level <code>tsconfig</code> option (<a
href="https://redirect.github.com/vitejs/vite/issues/23310">#23310</a>)
(<a
href="https://github.com/vitejs/vite/commit/93164c3530a7b4fc7bbedfb986d6afa9546cdef3">93164c3</a>)</li>
<li>add warning for unsupported hooks in plugin returned from
<code>applyToEnvironment</code> hook (<a
href="https://redirect.github.com/vitejs/vite/issues/23191">#23191</a>)
(<a
href="https://github.com/vitejs/vite/commit/fdef04f112aadfea40ad3c448d96a49a04c168bd">fdef04f</a>)</li>
<li><strong>cli:</strong> support naming the CPU profile via --profile
[name] (<a
href="https://redirect.github.com/vitejs/vite/issues/23042">#23042</a>)
(<a
href="https://github.com/vitejs/vite/commit/a500deeb6f52d93ca501a0fc612a5392b939f2f5">a500dee</a>)</li>
<li><strong>config:</strong> warn on named imports from JSON modules (<a
href="https://redirect.github.com/vitejs/vite/issues/23378">#23378</a>)
(<a
href="https://github.com/vitejs/vite/commit/472385e6ec4b21e3167c7abf9769883d1c9675f8">472385e</a>)</li>
<li><strong>css:</strong> minify style tag (<a
href="https://redirect.github.com/vitejs/vite/issues/23183">#23183</a>)
(<a
href="https://github.com/vitejs/vite/commit/8156684572bdcf73e9d8568ed67971f0467fab60">8156684</a>)</li>
<li>searched params attached to workers are now preserved (<a
href="https://redirect.github.com/vitejs/vite/issues/22280">#22280</a>)
(<a
href="https://github.com/vitejs/vite/commit/517b97f57ab9473e7417da856eb641d76870a56e">517b97f</a>)</li>
<li>support subpath imports in dynamic import statements (<a
href="https://redirect.github.com/vitejs/vite/issues/23185">#23185</a>)
(<a
href="https://github.com/vitejs/vite/commit/b78e2f1bc1cba404c4bd9faf518d26ec85e89fc7">b78e2f1</a>)</li>
<li>use <code>import.meta.ROLLDOWN_FILE_URL_*</code> for assets in JS
(<a
href="https://redirect.github.com/vitejs/vite/issues/22888">#22888</a>)
(<a
href="https://github.com/vitejs/vite/commit/4366ac468343252df6d5706361a6348afa66f9cc">4366ac4</a>)</li>
<li>use <code>import.meta.ROLLDOWN_FILE_URL_*</code> for other plugins
(<a
href="https://redirect.github.com/vitejs/vite/issues/22894">#22894</a>)
(<a
href="https://github.com/vitejs/vite/commit/e38f29ee48bea5ea3178faec5b78708e86f38afb">e38f29e</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md">vite's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/vitejs/vite/compare/v8.2.2...v8.3.0">8.3.0</a>
(2026-09-10)</h2>
<h3>Features</h3>
<ul>
<li><strong>build:</strong> avoid settling seen preload dependencies for
performance (<a
href="https://redirect.github.com/vitejs/vite/issues/23446">#23446</a>)
(<a
href="https://github.com/vitejs/vite/commit/e6f6b3e3119256daa837b2dc399058c8aa45b470">e6f6b3e</a>)</li>
<li><strong>devtools:</strong> enable dev server integration (<a
href="https://redirect.github.com/vitejs/vite/issues/23333">#23333</a>)
(<a
href="https://github.com/vitejs/vite/commit/68aeb8a3b5a5a2ccd505288999bae1a5e6942ee1">68aeb8a</a>)</li>
<li>accept Rolldown watch options in <code>server.watch</code> (<a
href="https://redirect.github.com/vitejs/vite/issues/23133">#23133</a>)
(<a
href="https://github.com/vitejs/vite/commit/1b5cfe3d3777d4ceb7f35fcee9d3c4279316a084">1b5cfe3</a>)</li>
<li>add closeServer and closePreviewServer hooks (<a
href="https://redirect.github.com/vitejs/vite/issues/23110">#23110</a>)
(<a
href="https://github.com/vitejs/vite/commit/e17d2d565b0288f169c7995adb2b192f917548e7">e17d2d5</a>)</li>
<li>add top-level <code>tsconfig</code> option (<a
href="https://redirect.github.com/vitejs/vite/issues/23310">#23310</a>)
(<a
href="https://github.com/vitejs/vite/commit/93164c3530a7b4fc7bbedfb986d6afa9546cdef3">93164c3</a>)</li>
<li>add warning for unsupported hooks in plugin returned from
<code>applyToEnvironment</code> hook (<a
href="https://redirect.github.com/vitejs/vite/issues/23191">#23191</a>)
(<a
href="https://github.com/vitejs/vite/commit/fdef04f112aadfea40ad3c448d96a49a04c168bd">fdef04f</a>)</li>
<li><strong>cli:</strong> support naming the CPU profile via --profile
[name] (<a
href="https://redirect.github.com/vitejs/vite/issues/23042">#23042</a>)
(<a
href="https://github.com/vitejs/vite/commit/a500deeb6f52d93ca501a0fc612a5392b939f2f5">a500dee</a>)</li>
<li><strong>config:</strong> warn on named imports from JSON modules (<a
href="https://redirect.github.com/vitejs/vite/issues/23378">#23378</a>)
(<a
href="https://github.com/vitejs/vite/commit/472385e6ec4b21e3167c7abf9769883d1c9675f8">472385e</a>)</li>
<li><strong>css:</strong> minify style tag (<a
href="https://redirect.github.com/vitejs/vite/issues/23183">#23183</a>)
(<a
href="https://github.com/vitejs/vite/commit/8156684572bdcf73e9d8568ed67971f0467fab60">8156684</a>)</li>
<li>searched params attached to workers are now preserved (<a
href="https://redirect.github.com/vitejs/vite/issues/22280">#22280</a>)
(<a
href="https://github.com/vitejs/vite/commit/517b97f57ab9473e7417da856eb641d76870a56e">517b97f</a>)</li>
<li>support subpath imports in dynamic import statements (<a
href="https://redirect.github.com/vitejs/vite/issues/23185">#23185</a>)
(<a
href="https://github.com/vitejs/vite/commit/b78e2f1bc1cba404c4bd9faf518d26ec85e89fc7">b78e2f1</a>)</li>
<li>use <code>import.meta.ROLLDOWN_FILE_URL_*</code> for assets in JS
(<a
href="https://redirect.github.com/vitejs/vite/issues/22888">#22888</a>)
(<a
href="https://github.com/vitejs/vite/commit/4366ac468343252df6d5706361a6348afa66f9cc">4366ac4</a>)</li>
<li>use <code>import.meta.ROLLDOWN_FILE_URL_*</code> for other plugins
(<a
href="https://redirect.github.com/vitejs/vite/issues/22894">#22894</a>)
(<a
href="https://github.com/vitejs/vite/commit/e38f29ee48bea5ea3178faec5b78708e86f38afb">e38f29e</a>)</li>
<li><strong>worker:</strong> remove worker chunk if it's detected that
it's not referenced (<a
href="https://redirect.github.com/vitejs/vite/issues/22473">#22473</a>)
(<a
href="https://github.com/vitejs/vite/commit/924997a4bdda9115faee9bdb622fcec4fc8357f0">924997a</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>handle CRLF line endings in code frame positions (<a
href="https://redirect.github.com/vitejs/vite/issues/23219">#23219</a>)
(<a
href="https://github.com/vitejs/vite/commit/9913672bee9c34a2df7fff4c2538783cd4f43b4e">9913672</a>)</li>
<li>only treat whole <code>node_modules</code> path segments as
dependencies (fix <a
href="https://redirect.github.com/vitejs/vite/issues/17467">#17467</a>)
(<a
href="https://redirect.github.com/vitejs/vite/issues/23437">#23437</a>)
(<a
href="https://github.com/vitejs/vite/commit/ef0dc17ada53d1169ae5a89cb8f6482831466755">ef0dc17</a>)</li>
<li><strong>build:</strong> keep hash placeholders as-is in
<code>resolveFileUrl</code> hook (<a
href="https://redirect.github.com/vitejs/vite/issues/23422">#23422</a>)
(<a
href="https://github.com/vitejs/vite/commit/e8d6a4d3399c739772080d70c7f3c4d548a637c9">e8d6a4d</a>)</li>
<li><strong>bundled-dev:</strong> mark payload delivered on client
report (<a
href="https://redirect.github.com/vitejs/vite/issues/23373">#23373</a>)
(<a
href="https://github.com/vitejs/vite/commit/a6d43bc9e3464faa4d49f090e75e1ab334ffb7b0">a6d43bc</a>)</li>
<li><strong>deps:</strong> update all non-major dependencies (<a
href="https://redirect.github.com/vitejs/vite/issues/23445">#23445</a>)
(<a
href="https://github.com/vitejs/vite/commit/fc7c104e74d35a97fa313d5dd6f1b5e7d5b26159">fc7c104</a>)</li>
<li><strong>html:</strong> don't inline preload link targets (fix <a
href="https://redirect.github.com/vitejs/vite/issues/13355">#13355</a>)
(<a
href="https://redirect.github.com/vitejs/vite/issues/23387">#23387</a>)
(<a
href="https://github.com/vitejs/vite/commit/12e709ca4df1059747db1cb7c5d1cd71aba79a24">12e709c</a>)</li>
<li>resolve the actual package root in findNearestMainPackageData for
nested package.json (<a
href="https://redirect.github.com/vitejs/vite/issues/23356">#23356</a>)
(<a
href="https://github.com/vitejs/vite/commit/8492422b8f110625a90c702f42f30784e8cf19dc">8492422</a>)</li>
<li>shortcuts extend error (<a
href="https://redirect.github.com/vitejs/vite/issues/23447">#23447</a>)
(<a
href="https://github.com/vitejs/vite/commit/4ec58d159df4a1b4799356a1fda62db88ed14752">4ec58d1</a>)</li>
<li><strong>config:</strong> close bundles when generation fails (<a
href="https://redirect.github.com/vitejs/vite/issues/23256">#23256</a>)
(<a
href="https://github.com/vitejs/vite/commit/6bacc956df5a76cc5653b9de4493453b953439fd">6bacc95</a>)</li>
<li><strong>css:</strong> keep newline-separated srcset candidates
intact (<a
href="https://redirect.github.com/vitejs/vite/issues/23265">#23265</a>)
(<a
href="https://github.com/vitejs/vite/commit/4f9d2f4dadc83191200de7d2154c957a711e8c3d">4f9d2f4</a>)</li>
<li><strong>deps:</strong> update all non-major dependencies (<a
href="https://redirect.github.com/vitejs/vite/issues/23337">#23337</a>)
(<a
href="https://github.com/vitejs/vite/commit/d55081581ddd4d55667fef38e85d02ab7f879f15">d550815</a>)</li>
<li><strong>deps:</strong> update all non-major dependencies (<a
href="https://redirect.github.com/vitejs/vite/issues/23404">#23404</a>)
(<a
href="https://github.com/vitejs/vite/commit/238ad811c7fb9e4730cbd317d0657867ed3447b3">238ad81</a>)</li>
<li><strong>deps:</strong> update rolldown-related dependencies (<a
href="https://redirect.github.com/vitejs/vite/issues/23338">#23338</a>)
(<a
href="https://github.com/vitejs/vite/commit/76e8082c56a2872dc8017c5672bc36cba8dcf75d">76e8082</a>)</li>
<li><strong>deps:</strong> update rolldown-related dependencies (<a
href="https://redirect.github.com/vitejs/vite/issues/23405">#23405</a>)
(<a
href="https://github.com/vitejs/vite/commit/b88256607e3a051b7bcb0b338b3c4665926b55a8">b882566</a>)</li>
<li><strong>dev:</strong> run closeBundle after buildEnd failure (<a
href="https://redirect.github.com/vitejs/vite/issues/23165">#23165</a>)
(<a
href="https://github.com/vitejs/vite/commit/8cb872e7fb65b03f6068923c6aa7fcf3e71baf21">8cb872e</a>)</li>
<li><strong>hmr:</strong> handle <code>import.meta.hot.invalidate</code>
in virtual module (<a
href="https://redirect.github.com/vitejs/vite/issues/23171">#23171</a>)
(<a
href="https://github.com/vitejs/vite/commit/616296895bd135386d35069a479a5f188c7de298">6162968</a>)</li>
<li><strong>utils:</strong> handle dot in srcset density descriptor (<a
href="https://redirect.github.com/vitejs/vite/issues/23346">#23346</a>)
(<a
href="https://github.com/vitejs/vite/commit/b50e1b4a3d66128a4076e19769b2e29657985516">b50e1b4</a>)</li>
<li><strong>utils:</strong> match timestamp query parameter with proper
delimiters (<a
href="https://redirect.github.com/vitejs/vite/issues/23364">#23364</a>)
(<a
href="https://github.com/vitejs/vite/commit/41f3c6fff88ade015669cac5c42db946e0b6f5c9">41f3c6f</a>)</li>
</ul>
<h3>Performance Improvements</h3>
<ul>
<li><strong>proxy:</strong> pre-compile context matchers at server
creation (<a
href="https://redirect.github.com/vitejs/vite/issues/23263">#23263</a>)
(<a
href="https://github.com/vitejs/vite/commit/8abf700eeb2411d8402d08f8e2696effafdbe774">8abf700</a>)</li>
</ul>
<h3>Miscellaneous Chores</h3>
<ul>
<li>introducing <code>@e18e/eslint-plugin</code> (<a
href="https://redirect.github.com/vitejs/vite/issues/23357">#23357</a>)
(<a
href="https://github.com/vitejs/vite/commit/f79413353995a2344879014410a9128b1b9f8e9a">f794133</a>)</li>
<li>remove unnecessary comment (<a
href="https://redirect.github.com/vitejs/vite/issues/23448">#23448</a>)
(<a
href="https://github.com/vitejs/vite/commit/b919a1a8b5a7c694667f993d677973f42d349458">b919a1a</a>)</li>
<li>delete unused <code>PluginContainerOptions</code> (<a
href="https://redirect.github.com/vitejs/vite/issues/23382">#23382</a>)
(<a
href="https://github.com/vitejs/vite/commit/ee644014aab61e546742b862a7d7b0d6c7d67a7b">ee64401</a>)</li>
<li>use oxfmt <code>sortImports</code> (<a
href="https://redirect.github.com/vitejs/vite/issues/23319">#23319</a>)
(<a
href="https://github.com/vitejs/vite/commit/97ad042170f4c71b518239723b733dd98e8e3e76">97ad042</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitejs/vite/commit/95e8923f35d0252c9f6eb2d5e358c084542706f1"><code>95e8923</code></a>
release: v7.3.1</li>
<li><a
href="https://github.com/vitejs/vite/commit/9d39d373a7b4e0a93322b70b9dbeb202af06af3e"><code>9d39d37</code></a>
feat: add <code>ignoreOutdatedRequests</code> option to
<code>optimizeDeps</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/21364">#21364</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/acf7e05eaeb18e98f5e19e2d3e648950726f20d1"><code>acf7e05</code></a>
release: v7.3.0</li>
<li><a
href="https://github.com/vitejs/vite/commit/cff26ec0fc13373d7125a5eac6cb01fe63fee4b1"><code>cff26ec</code></a>
feat(deps): update esbuild from ^0.25.0 to ^0.27.0 (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/21183">#21183</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/317b3b272f9ef6faa647a51ab3b0768fecc1071d"><code>317b3b2</code></a>
release: v7.2.7</li>
<li><a
href="https://github.com/vitejs/vite/commit/721f16343d9555ae8fc71a2e5354b22e12ff0dc3"><code>721f163</code></a>
fix: plugin shortcut support (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/21211">#21211</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/bda5dbb648fa7cf877ea9c76ba8a7da226b65cce"><code>bda5dbb</code></a>
release: v7.2.6</li>
<li><a
href="https://github.com/vitejs/vite/commit/3aa7527fb4fc7dafe3ab57c41d637d2985c7bb6e"><code>3aa7527</code></a>
release: v7.2.5</li>
<li><a
href="https://github.com/vitejs/vite/commit/72e398a46d8d2f54fbcbeb9ff0dceab346aeb642"><code>72e398a</code></a>
fix(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/21175">#21175</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/3765f7baea36234bf3816eeed38776d27bfd3649"><code>3765f7b</code></a>
fix: shortcuts not rebound after server restart (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/21166">#21166</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitejs/vite/commits/create-vite@8.3.0/packages/vite">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vite&package-manager=npm_and_yarn&previous-version=8.2.2&new-version=8.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-14 13:55:27 +00:00
2019-08-03 12:08:54 -04:00
2016-12-03 17:03:39 +01:00
2025-01-21 09:54:19 +01:00
2018-10-20 18:35:35 +02:00
2026-07-12 15:46:30 +03:00
2023-12-20 07:18:13 +02:00
2025-02-25 05:01:15 -05:00
2025-02-25 05:01:15 -05:00
2026-07-12 15:46:30 +03:00

Maputnik logo

Maputnik

GitHub CI status License

A free and open visual editor for the MapLibre GL styles targeted at developers and map designers.

Usage

docker run -it --rm -p 8888:8000 ghcr.io/maplibre/maputnik:main

To see the CLI options (for example file watching or style serving) run:

docker run -it --rm -p 8888:8000 ghcr.io/maplibre/maputnik:main --help

You might need to mount a volume (-v) to be able to use these options.

Documentation

The documentation can be found in the Wiki. You are welcome to collaborate!

Design Map from Scratch

Develop

Maputnik is written in typescript and is using React and MapLibre GL JS.

We ensure building and developing Maputnik works with the current active LTS Node.js version and above.

Check out our Internationalization guide for UI text related changes.

Getting Involved

Join the #maplibre or #maputnik slack channel at OSMUS: get an invite at https://slack.openstreetmap.us/ Read the the below guide in order to get familiar with how we do things around here.

Install the deps, start the dev server and open the web browser on http://localhost:8888/.

# install dependencies
npm install
# start dev server
npm run start

If you want Maputnik to be accessible externally use the --host option:

# start externally accessible dev server
npm run start -- --host 0.0.0.0

The build process will watch for changes to the filesystem, rebuild and autoreload the editor.

npm run build

Lint the JavaScript code.

# run linter
npm run lint
npm run lint-css
npm run sort-styles

Tests

End-to-end tests

For E2E testing we use Playwright. The tests live in the e2e directory and drive the app through the MaputnikDriver page object.

The first time you run the tests, install the browser:

npx playwright install chromium

Playwright automatically starts the dev server (npm run start) for you, so you can just run:

npm run test

Some useful options:

# see the tests run in a headed browser
npm run test -- --headed

# run a single spec / filter by title
npm run test -- e2e/map.spec.ts
npm run test -- -g "zoom level"

# open the interactive UI mode
npx playwright test --ui

Running the E2E tests also produces a code-coverage report in coverage/ (collected via istanbul instrumentation of the dev server).

Unit & component tests

Unit tests and component tests run with Vitest; component tests (*.browser.test.tsx) use Vitest's browser mode with the Playwright provider.

npm run test-unit

Release process

  1. Review CHANGELOG.md
    • Double-check that all changes included in the release are appropriately documented.
    • To-be-released changes should be under the "main" header.
    • Commit any final changes to the changelog.
  2. Run Create bump version PR by manual workflow dispatch and set the version number in the input. This will create a PR that changes the changelog and package.json file to review and merge.
  3. Once merged, an automatic process will kick in and creates a GitHub release and uploads release assets.

Sponsors

Thanks to the supporters of the Kickstarter campaign. This project would not be possible without these commercial and individual sponsors. You can see this file's history for previous sponsors of the original Maputnik repo. Read more about the MapLibre Sponsorship Program at https://maplibre.org/sponsors/.

License

Maputnik is licensed under MIT and is Copyright (c) Lukas Martinelli and Maplibre contributors. As contributor please take extra care of not violating any Mapbox trademarks. Do not get inspired by other map studios and make your own decisions for a good style editor.

S
Description
An open source visual editor for the 'Mapbox Style Specification'
Readme 477 MiB
Languages
JavaScript 88.5%
SCSS 9.3%
CSS 1.2%
HTML 0.9%
Dockerfile 0.1%