lemonmade / quilt

MIT License
39 stars 8 forks source link

Deduplicate preact version in builds and development #368

Open lemonmade opened 2 years ago

lemonmade commented 2 years ago

Had very annoying HMR issues caused by preact being duplicated after an upgrade. We should be able to resolve to a single version... somehow. I think Vite does this https://vitejs.dev/config/#resolve-dedupe

lemonmade commented 1 year ago

I added the deduping, but adding Preact and friends to the list didn't seem to work for in the Quilt monorepo (added, reverted). Going to leave the config option around, but I will need to work on helping avoid duplicates some other way.