Commit 141e6cb
authored
chore(protocol-designer): Add tslib back into Vite config to fix whitescreen (#20229)
PD was whitescreening with this console error:
```
13:11:30.678 index.js:3 Uncaught TypeError: Cannot destructure property '__extends' of 'import_tslib.default' as it is undefined.
at index.js:3:5
(anonymous) @ index.js:3
13:13:18.067 (index):1 Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
```
I do not understand any of this, but from `git bisect`ing, the apparent
cause is #20207's removal of `include: ['tslib']` and/or `dedupe:
['tslib']` from our Vite config. None of our other projects need this,
so it's likely that there's some PD-specific weirdness going on
here—possibly some misconfiguration somewhere else—but I haven't looked
into it. This PR reverts the change as a quick fix to unblock
development.1 parent f53562b commit 141e6cb
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
| |||
143 | 145 | | |
144 | 146 | | |
145 | 147 | | |
| 148 | + | |
| 149 | + | |
146 | 150 | | |
147 | 151 | | |
148 | 152 | | |
| |||
0 commit comments