diff --git a/create-snowpack-app/app-template-preact-typescript/package.json b/create-snowpack-app/app-template-preact-typescript/package.json index 867822b399..2e3cd83b7c 100644 --- a/create-snowpack-app/app-template-preact-typescript/package.json +++ b/create-snowpack-app/app-template-preact-typescript/package.json @@ -32,6 +32,7 @@ "@snowpack/app-scripts-preact": "^1.9.3", "@snowpack/plugin-babel": "^2.1.3", "@snowpack/plugin-dotenv": "^2.0.3", + "@snowpack/plugin-typescript": "^1.0.1", "@testing-library/jest-dom": "^5.5.0", "@testing-library/preact": "^1.0.2", "jest": "^26.2.2", diff --git a/create-snowpack-app/app-template-preact-typescript/snowpack.config.js b/create-snowpack-app/app-template-preact-typescript/snowpack.config.js index c647fb9fab..92450b9b50 100644 --- a/create-snowpack-app/app-template-preact-typescript/snowpack.config.js +++ b/create-snowpack-app/app-template-preact-typescript/snowpack.config.js @@ -6,7 +6,8 @@ module.exports = { plugins: [ '@snowpack/plugin-dotenv', '@snowpack/plugin-babel', - '@prefresh/snowpack', + '@snowpack/plugin-typescript', + '@prefresh/snowpack' ], installOptions: { installTypes: true,