-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP vite prod builds * prettier * HN example working, at least * fix some stuff * update config files * various * simplify * simplify * oops * fix find_layout * remove logging * fix vite base path * make vite a peer dependency * let vite serve static assets * get SSR CSS working * remove unused code * rename CLI * simplify configs * tweak relationship between different packages * simplify app-utils * update tests to remove app startup crashes in prod * fix lockfile * tweak some file locations etc, get some more tests passing * get tests passing * update lockfile * update lockfile * get all tests passing, locally at least * remove snowpack-related stuff * add vite-plugin-svelte to monorepo * lint * dont remove styles, it breaks stuff. TODO investigate * Upgrade vite * fix some sourcemap stuff * remove vite-plugin-svelte from workspace until things settle down more * fix lockfile * gloss over import.meta transform bug for now * hack around vite bugs until 2.0.4 * only lint src files * remove source-map-support, it was causing weird stuff to happen * ensure renderer waits for layout/error styles * i really dont understand this lockfile bollocks * Upgrade to vite 2.0.4 * add fork of @svitejs/vite-plugin-svelte back to monorepo * lint * make run in node 12 * ffffuuuuuuu * Fix file path * specify vite 2.0.4 everywhere * add some logging to try and diagnose CI test failures * fix output directories * remove logging Co-authored-by: Ben McCann <[email protected]>
- Loading branch information
1 parent
185426e
commit cf21d90
Showing
114 changed files
with
2,910 additions
and
2,997 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,32 @@ | ||
------ | ||
--- | ||
|
||
Before filing an issue we'd appreciate it if you could take a moment to ensure | ||
there isn't already an open issue or pull-request. | ||
----- | ||
|
||
--- | ||
|
||
If there's an existing issue, please add a :+1: reaction to the description of | ||
the issue. One way we prioritize issues is by the number of :+1: reactions on | ||
their descriptions. Please DO NOT add `+1` or :+1: comments. | ||
|
||
### Feature requests and proposals | ||
|
||
We're excited to hear how we can make SvelteKit better. Please add as much detail | ||
as you can on your use case. To propose an implementation of a large feature or | ||
change, please create an [RFC](https://github.com/sveltejs/rfcs). | ||
|
||
### Bugs | ||
|
||
If you're filing an issue about a bug please include as much information | ||
as you can, including the following. | ||
|
||
- The output of `npx envinfo --system --npmPackages svelte,@sveltejs/kit,@sveltejs/snowpack-config --binaries --browsers` | ||
- The output of `npx envinfo --system --npmPackages svelte,@sveltejs/kit --binaries --browsers` | ||
- Your browser | ||
- Your adapter (e.g. Node, static, Vercel, Begin, etc...) | ||
|
||
- *Repeatable steps to reproduce the issue* | ||
- _Repeatable steps to reproduce the issue_ | ||
|
||
* We recommend creating a small repo that illustrates the problem. | ||
* Reproductions should be small, self-contained, correct examples – http://sscce.org. | ||
|
||
Thanks for being part of SvelteKit! | ||
------- | ||
## Thanks for being part of SvelteKit! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,9 @@ | ||
import { dirname, resolve } from 'path'; | ||
import { fileURLToPath } from 'url'; | ||
import svelte from 'vite-plugin-svelte'; | ||
|
||
const __dirname = dirname(fileURLToPath(import.meta.url)); | ||
const production = (process.env.NODE_ENV === 'production') | ||
import { resolve } from 'path'; | ||
|
||
export default { | ||
alias: { | ||
'$app': resolve(__dirname, '.svelte/assets/runtime/app'), | ||
'$components': resolve(__dirname, 'src/components') | ||
}, | ||
plugins: [ | ||
svelte({ | ||
emitCss: false, | ||
compilerOptions: { | ||
dev: !production, | ||
hydratable: true | ||
}, | ||
hot: true | ||
}) | ||
] | ||
} | ||
resolve: { | ||
alias: { | ||
$components: resolve('src/components') | ||
} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { resolve } from 'path'; | ||
|
||
export default { | ||
resolve: { | ||
alias: { | ||
$common: resolve('src/common'), | ||
$components: resolve('src/components') | ||
} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { resolve } from 'path'; | ||
|
||
export default { | ||
resolve: { | ||
alias: { | ||
$components: resolve('src/components') | ||
} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { resolve } from 'path'; | ||
|
||
export default { | ||
resolve: { | ||
alias: { | ||
$components: resolve('src/components') | ||
} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,2 @@ | ||
.DS_Store | ||
node_modules | ||
|
||
/files | ||
/http | ||
/renderer |
Oops, something went wrong.