Skip to content
A parcel plugin that enables svelte support
JavaScript HTML
Branch: master
Clone or download
Latest commit 14785e0 Aug 17, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore refactor: removed unnecessary transpilation process (#85) Aug 5, 2019
.prettierignore Big refactor with small API change (#87) Aug 7, 2019
.prettierrc Cleanup all the things (#37) Feb 15, 2019
LICENSE Update LICENSE Jun 26, 2018
azure-pipelines-template.yml remove onde 6 add node 12 Aug 4, 2019
azure-pipelines.yml Svelte 3 support (#38) Feb 18, 2019
package.json drop svelte 3 support Aug 4, 2019 update readme in root Aug 7, 2019


Build Status

A parcel plugin that enables svelte support [CHANGELOG]


yarn add parcel-plugin-svelte -D


npm install parcel-plugin-svelte -D


The default configuration should work for most people but for anyone who would like to change the way svelte compiles the files there is the possibility to configure it.

This can be done though a svelte.config.js file, .svelterc file or svelte field in package.json.

For documentation on which parameters you can set and use look at the official svelte docs.

// Used by svelte.compile
compiler: {
// Used by svelte.preprocess
preprocess: {

Note: the use of compilerOptions property will be deprecated on the next major version, you should use thecompiler property instead.

CSS CompilerOptions

If you set compiler.css to false, CSS will be bundled in a separate file. It also enables post-transformations provided by Parcel such as PostCSS and file resolution for url().

How does it work?

If you want to know how it works have a look at my article about this plugin, might help if you wanna fix a bug or write your own parcel-plugin.


MIT License

You can’t perform that action at this time.