Created
October 23, 2020 13:20
-
-
Save Paratron/6ff1003946abe2945160326c9db6375f to your computer and use it in GitHub Desktop.
Svelte + Typescript + SASS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npx create-snowpack-app [NAME] --template @snowpack/app-template-svelte-typescript | |
npm i -d sass | |
// ==================================================================== | |
// svelte.config.js | |
// ==================================================================== | |
const autoPreprocess = require('svelte-preprocess'); | |
module.exports = { | |
preprocess: autoPreprocess({ | |
defaults: { | |
script: 'typescript' | |
}, | |
scss: { | |
includePaths: ['src'], | |
}, | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment