diff options
author | 2021-08-14 01:31:44 +0200 | |
---|---|---|
committer | 2021-08-13 16:31:44 -0700 | |
commit | 57b0c170e8fdbbfcc54ce0d7f9c039be67a1e1ab (patch) | |
tree | 4e941002a07ffd1ec289821a926a59f7716dcd27 /examples/with-markdown-plugins | |
parent | ada4058a3e89f48dea5d7a716852c6e469e89e59 (diff) | |
download | astro-57b0c170e8fdbbfcc54ce0d7f9c039be67a1e1ab.tar.gz astro-57b0c170e8fdbbfcc54ce0d7f9c039be67a1e1ab.tar.zst astro-57b0c170e8fdbbfcc54ce0d7f9c039be67a1e1ab.zip |
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
Diffstat (limited to 'examples/with-markdown-plugins')
-rw-r--r-- | examples/with-markdown-plugins/tsconfig.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/with-markdown-plugins/tsconfig.json b/examples/with-markdown-plugins/tsconfig.json new file mode 100644 index 000000000..a384bc3bb --- /dev/null +++ b/examples/with-markdown-plugins/tsconfig.json @@ -0,0 +1,3 @@ +{ + "moduleResolution": "node" +}
\ No newline at end of file |