parcel-transformer-svelte3 Svelte Themes

Parcel Transformer Svelte3

Svelte transformer plugin for parcel bundler v2

parcel-transformer-svelte3

A Parcel 2 transformer for Svelte 3.

Installation

you should configure in .parcelrc the transformation for Svelte files:

{
  "extends": ["@parcel/config-default"],
  "transforms": {
    "*.svelte": ["parcel-transformer-svelte3"]
  }
}

Configuration

You can change Svelte options though a .svelterc, svelte.config.js file .

// Options used by svelte.compile
compiler: {
  ...
},
// Preprocessors for svelte.preprocess
preprocessors: {
  ...
}

Top categories

Loading Svelte Themes