-
-
Notifications
You must be signed in to change notification settings - Fork 73
chore: co-locate image assets in template #860
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
base: main
Are you sure you want to change the base?
chore: co-locate image assets in template #860
Conversation
|
commit: |
packages/sv/lib/cli/add/workspace.ts
Outdated
| // ecosystem doesn't support `svelte.config.ts` https://github.com/sveltejs/cli/issues/816#issuecomment-3568032867 | ||
| // but the user may have opt in to it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| // ecosystem doesn't support `svelte.config.ts` https://github.com/sveltejs/cli/issues/816#issuecomment-3568032867 | |
| // but the user may have opt in to it | |
| // `sv` uses `svelte.config.js` by default | |
| // but users may have changed to `svelte.config.ts` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about like this, or is it too cheeky? 1cc1d50
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not @deprecated! Maybe in 2 years it will be the default! (I don't know ^^)
It's just not the default today.
I'm not sure why you want to point it out absolutely?
It feels that you don't like this default?
|
Hi @sacrosanctic, thx for looking at this. I'll try to organize feedback ^^
I'm not 100% sure we want all this, but I would look into this direction if there is something to change. B/ consistent names
C/ easier to read D/ use commonFilePaths E/ comment on no ecosystem support for svelte.config.ts F/ typo |
|
I figured there would be a discussion about the assets, so I opened an issue for it. I guess it doesn't matter where the discussion happens.
I've personally used |
Co-authored-by: jyc.dev <[email protected]>
|
Maybe |
|
|
|
|
|
Actually, it sounds like |
|
I'm really going back and forth on this, but I just changed my vote to keep things as they are today without any folder for additional organization, which now puts that option in the lead due to the low number of voters. The reason I'm changing my mind is that I noticed the screenshot is not how things appear for me. In the screenshot, files are appearing before folders. I think that makes things look messier because you have to scan through all the files to see the list of folders. That originally caused me to vote for having more organization. However, that's not how things appear for me. And it's not how things appear by default as far as I can tell |
|
I'm also in favor of not changing organization for demo atm. The PR is still good for the other things you suggest @sacrosanctic |


closes #859
In addition:
svelte.config.tsisn't usedI've grouped relevant changes together for easy
git revert.