change the typescript moduleResolution of all examples to "node" (#1108)
* Fixes many Errors related to typescript Fix Svelte Component Errors importing Svelte standard functions using typescript see https://github.com/snowpackjs/astro/issues/403. Also fixes "ReferenceError: exports is not defined" see https://github.com/snowpackjs/astro/issues/969. * change typescript default moduleresolution in examples see #403
This commit is contained in:
parent
ada4058a3e
commit
57b0c170e8
17 changed files with 51 additions and 0 deletions
3
examples/blog-multiple-authors/tsconfig.json
Normal file
3
examples/blog-multiple-authors/tsconfig.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"moduleResolution": "node"
|
||||
}
|
3
examples/blog/tsconfig.json
Normal file
3
examples/blog/tsconfig.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"moduleResolution": "node"
|
||||
}
|
3
examples/docs/tsconfig.json
Normal file
3
examples/docs/tsconfig.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"moduleResolution": "node"
|
||||
}
|
3
examples/framework-lit/tsconfig.json
Normal file
3
examples/framework-lit/tsconfig.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"moduleResolution": "node"
|
||||
}
|
3
examples/framework-multiple/tsconfig.json
Normal file
3
examples/framework-multiple/tsconfig.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"moduleResolution": "node"
|
||||
}
|
3
examples/framework-preact/tsconfig.json
Normal file
3
examples/framework-preact/tsconfig.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"moduleResolution": "node"
|
||||
}
|
3
examples/framework-react/tsconfig.json
Normal file
3
examples/framework-react/tsconfig.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"moduleResolution": "node"
|
||||
}
|
3
examples/framework-solid/tsconfig.json
Normal file
3
examples/framework-solid/tsconfig.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"moduleResolution": "node"
|
||||
}
|
3
examples/framework-svelte/tsconfig.json
Normal file
3
examples/framework-svelte/tsconfig.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"moduleResolution": "node"
|
||||
}
|
3
examples/framework-vue/tsconfig.json
Normal file
3
examples/framework-vue/tsconfig.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"moduleResolution": "node"
|
||||
}
|
3
examples/portfolio/tsconfig.json
Normal file
3
examples/portfolio/tsconfig.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"moduleResolution": "node"
|
||||
}
|
3
examples/snowpack/tsconfig.json
Normal file
3
examples/snowpack/tsconfig.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"moduleResolution": "node"
|
||||
}
|
3
examples/starter/tsconfig.json
Normal file
3
examples/starter/tsconfig.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"moduleResolution": "node"
|
||||
}
|
3
examples/with-markdown-plugins/tsconfig.json
Normal file
3
examples/with-markdown-plugins/tsconfig.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"moduleResolution": "node"
|
||||
}
|
3
examples/with-markdown/tsconfig.json
Normal file
3
examples/with-markdown/tsconfig.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"moduleResolution": "node"
|
||||
}
|
3
examples/with-nanostores/tsconfig.json
Normal file
3
examples/with-nanostores/tsconfig.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"moduleResolution": "node"
|
||||
}
|
3
examples/with-tailwindcss/tsconfig.json
Normal file
3
examples/with-tailwindcss/tsconfig.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"moduleResolution": "node"
|
||||
}
|
Loading…
Reference in a new issue