This repository was archived by the owner on Nov 21, 2025. It is now read-only.
Commit d0b257d
fix: use non-rollup bundle in development (#408)
Rollup bundle does not work in development for a few reasons:
1. Watch mode in vscode has to wait for tsc then rollup to finish.
This might be possible by setting up one task to "dependsOn" another
task, but don't bother with this for now.
See https://code.visualstudio.com/docs/editor/tasks#_compound-tasks
2. Sourcemaps have to be enabled in rollup, otherwise breakpoints in TS
code would not work.
Besides, running rollup is relatively slow, and thus hinders development
velocity.
Removing rollup from the development workflow has no impact on
correctness, so it's safe to omit this step.
Revisit this some other time if necessary.1 parent 95b8f11 commit d0b257d
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments