Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit 4ef8fa8

Browse files
committed
fix(svelte-kit): SvelteKit requires Node 14
1 parent 2b78571 commit 4ef8fa8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The following frameworks are detected:
1212

1313
- Static site generators: Gatsby, Hugo, Jekyll, Next.js, Nuxt, Hexo, Gridsome, Docusaurus, Eleventy, Middleman,
1414
Phenomic, React-static, Stencil, Vuepress, Assemble, DocPad, Harp, Metalsmith, Roots, Wintersmith
15-
- Front-end frameworks: create-react-app, Vue, Sapper, Angular, Ember, Svelte, Expo, Quasar
15+
- Front-end frameworks: create-react-app, Vue, SvelteKit, Sapper, Angular, Ember, Svelte, Expo, Quasar
1616
- Build tools: Parcel, Brunch, Grunt, Gulp
1717

1818
If you're looking for a way to run `framework-info` via CLI check the

src/frameworks/svelte-kit.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
"directory": "build"
1818
},
1919
"staticAssetsDirectory": "static",
20-
"env": {},
20+
"env": {
21+
"AWS_LAMBDA_JS_RUNTIME": "nodejs14.x",
22+
"NODE_VERSION": "14"
23+
},
2124
"plugins": []
2225
}

0 commit comments

Comments
 (0)