Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 809 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 809 Bytes

Svelte-Syndicate

A Svelte preprocessor for the JavaScript and TypeScript flavors of the Syndicate language

Usage

Add into your Svelte project's configuration.

E.g.:

// svelte.config.js
import preprocess from 'svelte-syndicate';

const config = {
  preprocess: preprocess({
    // ...svelte-syndicate compiler options
  }),
  // ...other svelte options
};

export default config;

Note, if you're using typescript (and we think you should!), you'll need to configure typescript compilation separately, probably through svelte-preprocess.

TODO

  • Beef up the tests
  • Add a module for treating Syndicate as a Svelte store (if technically feasible & semantically valid)