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

Initializing a project does not include vite #412

Closed
GrygrFlzr opened this issue Mar 2, 2021 · 1 comment · Fixed by #415
Closed

Initializing a project does not include vite #412

GrygrFlzr opened this issue Mar 2, 2021 · 1 comment · Fixed by #415

Comments

@GrygrFlzr
Copy link
Member

Describe the bug
Initializing a project does not include vite

To Reproduce

npm init svelte@next
{
	"name": "sk-35",
	"version": "0.0.1",
	"scripts": {
		"dev": "svelte-kit dev",
		"build": "svelte-kit build",
		"start": "svelte-kit start"
	},
	"devDependencies": {
		"@sveltejs/adapter-node": "next",
		"@sveltejs/kit": "next",
		"svelte": "^3.29.0",
		"typescript": "^4.0.0",
		"tslib": "^2.0.0",
		"svelte-preprocess": "^4.0.0",
		"@snowpack/plugin-typescript": "^1.0.0"
	},
	"type": "module",
	"engines": {
		"node": ">= 12.17.0"
	}
}

Expected behavior
Include vite in dependencies when initializing a project.

Information about your SvelteKit Installation:

  npmPackages:
    @sveltejs/kit: next => 1.0.0-next.35
    svelte: ^3.29.0 => 3.35.0

Severity
Pretty easy to work around with npm i -D vite, but terrible experience out of the box.

@dummdidumm
Copy link
Member

I'll take a look

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 a pull request may close this issue.

2 participants