Trying to replicate the kitchen-sink setup #1034
-
|
Hi, I am trying to replicate the kitchen-sink setup in my own repo by incorporating The overall effect is that any changes I make to the ui library don't flow into the 3 apps (vite, next.js and remix). In fact, the next app shows the following error:
Here are the diffs in my repo for switching over to Any clue what I am missing? Edit Just realized that my storybook setup is also not working with the tsup build: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Solved! I didn't realize that One small glitch still remains - the remix app does not refresh when ui lib is changes (unlike the vite and nextjs apps which refresh automatically). This issue also exists in the |
Beta Was this translation helpful? Give feedback.
Solved! I didn't realize that
index.tsxhad been moved under thesrcfolder for thekitchen-sinkexample. That's why tsup was confused and thinking that/dist/index.mjsis an input file. Once I movedindex.tsxtosrc, everything started working as expected.One small glitch still remains - the remix app does not refresh when ui lib is changes (unlike the vite and nextjs apps which refresh automatically). This issue also exists in the
kitchen-sinkexample.