Skip to content

Commit

Permalink
Remove default language option from app-template-svelte-typescript (#…
Browse files Browse the repository at this point in the history
…3662)

* Remove default language option from app-template-svelte-typescript

It's discouraged to use: https://github.com/sveltejs/svelte-preprocess/blob/main/docs/preprocessing.md#auto-preprocessing-options

* changeset

Co-authored-by: Simon Holthausen <simon.holthausen@accso.de>
  • Loading branch information
dummdidumm and Simon Holthausen committed Aug 24, 2021
1 parent d72dc7d commit fed2c94
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/long-spiders-jump.md
@@ -0,0 +1,5 @@
---
'@snowpack/app-template-svelte-typescript': patch
---

Remove default language option as its use is discouraged
@@ -1,9 +1,5 @@
const autoPreprocess = require('svelte-preprocess');

module.exports = {
preprocess: autoPreprocess({
defaults: {
script: 'typescript',
},
}),
preprocess: autoPreprocess(),
};

1 comment on commit fed2c94

@vercel
Copy link

@vercel vercel bot commented on fed2c94 Aug 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.