-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
fix: don't bundle @sveltejs/kit
#13971
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
Changes from all commits
a77bde2
0df6cbb
a162929
275e783
bec98da
2fdc183
f9144f2
6dd38ad
4ea9a70
b948264
96d7a8d
c11bf0a
cc8bc74
676fdf1
1f2599e
20f98fe
d02248a
31543d1
fbf7871
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@sveltejs/kit': patch | ||
| --- | ||
|
|
||
| fix: don't bundle `@sveltejs/kit` |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| import { createReadStream } from 'node:fs'; | ||
| import { Readable } from 'node:stream'; | ||
| import * as set_cookie_parser from 'set-cookie-parser'; | ||
| import { SvelteKitError } from '../../runtime/control.js'; | ||
| import { SvelteKitError } from '../internal/index.js'; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this not be the package import rather than relative?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Doesn't really matter as long as you don't use relative imports between bundled and unbundled modules |
||
|
|
||
| /** | ||
| * @param {import('http').IncomingMessage} req | ||
|
|
||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| { | ||
| "name": "test-redirect-importer", | ||
| "version": "0.0.1", | ||
| "private": true, | ||
| "type": "module", | ||
| "exports": { | ||
| ".": "./index.js" | ||
| }, | ||
| "dependencies": { | ||
| "@sveltejs/kit": "workspace:*" | ||
| } | ||
| } |
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.
Same here