Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: build create templates directly #12

Merged
merged 6 commits into from
Aug 23, 2024
Merged

Conversation

AdrianGonz97
Copy link
Member

@AdrianGonz97 AdrianGonz97 commented Aug 23, 2024

this pr removes the workaround we had where templates for create were being built in a child process during rollup builds (this was necessary because the build script accesses certain packages that are only available in create). this wasn't ideal

instead, we'll expose the build script through a ./build export condition so that the rollup config can access and execute it directly

Copy link

pkg-pr-new bot commented Aug 23, 2024

commit: 6ef6ede

pnpm add https://pkg.pr.new/sveltejs/cli/@svelte-cli/core@12
pnpm add https://pkg.pr.new/sveltejs/cli/sv@12

Open in Stackblitz

rollup.config.js Outdated Show resolved Hide resolved
@AdrianGonz97 AdrianGonz97 merged commit 7e2909e into main Aug 23, 2024
4 checks passed
@AdrianGonz97 AdrianGonz97 deleted the chore/remove-subprocess branch August 23, 2024 23:48
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