vite-plugin-rescript icon indicating copy to clipboard operation
vite-plugin-rescript copied to clipboard

[bug] modifying rescript deps in monorepo does not cause re-bundle

Open tx46 opened this issue 3 months ago • 3 comments

relevant: https://github.com/vitejs/vite/issues/19741

recreate by:

  1. creating a monorepo with two rescript projects x and y
  2. have x be vite project
  3. have x depend on y
  4. launch x project in browser
  5. change something in y
  6. notice how everything is rebuilt properly
  7. notice how vite is using outdated version of y's file

tx46 avatar Sep 22 '25 05:09 tx46

Thank you for the relevant link and reproduction steps.

Could you please provide a minimal reproduction repository?

jihchi avatar Sep 22 '25 06:09 jihchi

im trying to set up a new project do demonstrate the issue but can't. it's however ongoing in my main repo. could this be a configurational issue?

tx46 avatar Sep 22 '25 11:09 tx46

ok so the issue is apparently that we were using preserveSymlinks: true. you may close this issue

tx46 avatar Sep 22 '25 11:09 tx46