Parcel 2 transformer for Svelte 3
The parcel-transformer-svelte is a transformer specifically designed for Svelte 3 in Parcel 2. It allows for easy configuration and transformation of Svelte files.
.svelterc, svelte.config.js, or the svelte field in package.json.To install the parcel-transformer-svelte, follow these steps:
npm install parcel-transformer-svelte
.parcelrc file:{
"extends": "@parcel/config-default",
"transformers": {
"*.{svelte}": ["parcel-transformer-svelte"]
}
}
.svelterc, svelte.config.js file, or adding a svelte field to your package.json file. Refer to the official Svelte documentation for available options.The parcel-transformer-svelte is a handy transformer for Svelte 3 in Parcel 2. It provides seamless integration and configuration options for transforming Svelte files. With its support for the latest version of Svelte and customizable options, it simplifies the development process for Svelte projects in Parcel. The transformer can be easily installed and configured, making it a valuable addition to any Svelte-based project utilizing Parcel 2.