Stop bundling duplicate DuckDB wasm chunks in notebook Vite build #342

Closed
opened 2026-06-06 11:35:17 +00:00 by steve · 0 comments
Owner

Describe the issue.

Problem

Goal

Scope

Non-goals

Acceptance Criteria

Implementation Notes

Suggested Files or Specs To Inspect

Validation Commands

Follow-up Tasks

Implementation Summary

Set notebook main Vite build emptyOutDir: true so stale hashed duckdb JS chunks and main.umd.js are not copied into release inputs; removed @lapis-notes/api/storage/path bare require from notebook-plugin-runtime-assets via local joinPluginPath(). Dry-run publish zip dropped from ~778 MiB to ~150 MiB (optional ~106 MiB external duckdb/ assets only).

Describe the issue. ## Problem ## Goal ## Scope ## Non-goals ## Acceptance Criteria ## Implementation Notes ## Suggested Files or Specs To Inspect ## Validation Commands ## Related Issues - Follow-up to #300 — [Reduce notebook plugin release size by externalizing heavy runtime assets](../closed/300-reduce-notebook-plugin-release-size-by-externalizing-heavy-runtime-assets.md) ## Follow-up Tasks ## Implementation Summary Set notebook main Vite build emptyOutDir: true so stale hashed duckdb JS chunks and main.umd.js are not copied into release inputs; removed @lapis-notes/api/storage/path bare require from notebook-plugin-runtime-assets via local joinPluginPath(). Dry-run publish zip dropped from ~778 MiB to ~150 MiB (optional ~106 MiB external duckdb/ assets only). <!-- backlog:task_id=TASK-NOTEBOOK-012 source_spec=spec/src/20-packages/plugins/notebook/index.md related_issue=300 -->
steve 2026-06-06 11:35:17 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lapis-notes/lapis#342
No description provided.