Skip to content

Commit

Permalink
add back react typescript support (#1071)
Browse files Browse the repository at this point in the history
  • Loading branch information
FredKSchott committed Sep 18, 2020
1 parent 3c0bb36 commit 439d3f4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion create-snowpack-app/app-scripts-react/snowpack.config.js
Expand Up @@ -9,7 +9,12 @@ module.exports = {
public: '/',
src: '/_dist_',
},
plugins: ['@snowpack/plugin-react-refresh', '@snowpack/plugin-babel', '@snowpack/plugin-dotenv'],
plugins: [
'@snowpack/plugin-react-refresh',
'@snowpack/plugin-babel',
'@snowpack/plugin-dotenv',
...(isTS ? [['@snowpack/plugin-run-script', {cmd: 'tsc --noEmit', watch: '$1 --watch'}]] : []),
],
devOptions: {},
installOptions: {
installTypes: isTS,
Expand Down

1 comment on commit 439d3f4

@vercel
Copy link

@vercel vercel bot commented on 439d3f4 Sep 18, 2020

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.