Closed jamesopstad closed 3 years ago
@jamesopstad it's certainly something we're looking at. I think it would be good to get Sapper working with Snowpack as well before we make any big decisions.
Here's some related discussion in the Sapper issue tracker
It looks like Snowpack now supports webpack as a bundler. I don't see support for Rollup, which might be a blocker - though it sounds like it's being worked on https://github.com/sveltejs/sapper/issues/1204#issuecomment-633303440
There's also some investigation of nollup happening
Well snowpack now officially supports svelte, https://www.npmjs.com/package/@snowpack/plugin-svelte, time to make the same happen for sapper.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
SvelteKit is now the official way to build Svelte apps
Is your feature request related to a problem? Please describe. The current recommended approach (using degit) doesn't seem as straightforward as getting started with other frameworks. To a beginner, it may not be obvious that they need to run
npm install
in the newly created project folder. Development can soon become slow because each change triggers a complete rebuild.Describe the solution you'd like Snowpack V2 (https://www.snowpack.dev/) is due to be released tomorrow. It has great support for Svelte and you can generate a new project by running
npx create-snowpack-app [NEW_DIR] --template @snowpack/app-template-svelte
. I've been using it and following changes over the past few weeks. Some good enhancements have been made including support for svelte specific config viasvelte.config.js
to add preprocessing etc. Parcel has been removed as the default bundler and it is now possible to add your own bundler plugin.Describe alternatives you've considered Have looked into Vite but it doesn't support Svelte at present.
How important is this feature to you? I'm already using Snowpack so it won't make a difference to me directly but I feel it could benefit Svelte users more generally. The developer seems very open to adding any features that improve the experience for Svelte users.