sdocs 0.0.28 → 0.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.0.29] - 2026-07-03
11
+
12
+ ### Fixed
13
+
14
+ - `sdocs dev`/`run` no longer floods the console with unresolved-import
15
+ errors on Vite 8 (its rolldown-based dependency scanner can't walk `.svelte`
16
+ entry graphs). The initial scan is skipped — dependencies are still
17
+ optimized on demand — and `svelte` is pre-bundled up front.
18
+
10
19
  ## [0.0.28] - 2026-07-03
11
20
 
12
21
  ### Changed
@@ -40,6 +40,14 @@ export async function devCommand() {
40
40
  resolve: {
41
41
  dedupe: svelteDedupe(cwd),
42
42
  },
43
+ optimizeDeps: {
44
+ // Rolldown-based Vite (8+) can't scan .svelte entry graphs and floods
45
+ // the console with unresolved-import errors. Skip the initial scan —
46
+ // runtime discovery still optimizes dependencies on demand — and
47
+ // pre-bundle the one dependency the client app always needs.
48
+ entries: [],
49
+ include: ['svelte'],
50
+ },
43
51
  plugins: [
44
52
  svelte(),
45
53
  sdocsPlugin({ ...config, include: absoluteIncludes }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sdocs",
3
- "version": "0.0.28",
3
+ "version": "0.0.29",
4
4
  "description": "A lightweight documentation tool for Svelte 5 components",
5
5
  "type": "module",
6
6
  "license": "MIT",