parcel-transformer-svelte icon indicating copy to clipboard operation
parcel-transformer-svelte copied to clipboard

How to use Typescript?

Open cupcakearmy opened this issue 3 years ago • 1 comments

How can typescript be used? I'm getting syntax errors because parcel tries to parse typescript without being transformed.

// config.svelte.js
const preprocess = require('svelte-preprocess')

module.exports = {
  preprocess: preprocess(),
}

cupcakearmy avatar Dec 27 '21 12:12 cupcakearmy

I think there were changes to the transformer plugin API that is probably causing issues. #30

gcoakes avatar Dec 31 '21 23:12 gcoakes