0

I have a repo that contains both frontend and backend code of my project. The frontend is written in Svelte and resides in /frontend.

The files configuration value is deprecated in the newest Svelte version. But I did not find an alternative to change my directory to /frontend (instead of default path /src).

1 Answer 1

1

Rich Harris suggested the use of workspaces here.

So you would have an entire subdirectory for the frontend code, including its own src and reference that from a top-level package.json.

Sign up to request clarification or add additional context in comments.

1 Comment

There currently is a discussion regarding the deprecation here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.