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 +9 -0
- package/dist/commands/dev.js +8 -0
- package/package.json +1 -1
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
|
package/dist/commands/dev.js
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 }),
|