Skip to content

SvelteKit now generates its own prepare script #425

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

Closed
PazJal opened this issue Mar 9, 2022 · 3 comments
Closed

SvelteKit now generates its own prepare script #425

PazJal opened this issue Mar 9, 2022 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@PazJal
Copy link

PazJal commented Mar 9, 2022

In the SvelteKit docs -

SvelteKit now generates it own "prepare" script on skeleton projects - just rename the script in the docs.

@PazJal PazJal added the documentation Improvements or additions to documentation label Mar 9, 2022
@hperrin
Copy link
Owner

hperrin commented Mar 10, 2022

It has to be in prepare so it runs on npm install, but yeah, the docs need to be updated.

@YasharSL
Copy link

I have the same problem. How should I solve this?
I added this line in my scripts

{
    "prepare": "npm run smui-theme-light && npm run smui-theme-dark && svelte-kit sync",
}

@hperrin
Copy link
Owner

hperrin commented Apr 11, 2022

That line should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants