Skip to content

Fix build if you clone lage repo in a 'src' folder#806

Merged
kenotron merged 3 commits intomicrosoft:masterfrom
dannyvv:pr/FixPaths
Jan 28, 2025
Merged

Fix build if you clone lage repo in a 'src' folder#806
kenotron merged 3 commits intomicrosoft:masterfrom
dannyvv:pr/FixPaths

Conversation

@dannyvv
Copy link
Member

@dannyvv dannyvv commented Oct 25, 2024

repro:

  1. mkdir /src
  2. git clone https://github.com/microsoft/lage
  3. yarn install
  4. yarn build.

Notice bundle failure..

The issue is that transpile has a bug and assumes the src in paths like packages/cli/src/a.ts would be the only src.
If you clone your repo's under a folder like d:\src\lage it and starts writing files to d:\lib\lage\packages\cli\src\a.js

@kenotron kenotron merged commit 5ef04d6 into microsoft:master Jan 28, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants