1.0.2 • Published 11 months ago

svelte-preprocess-budoux v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

svelte-preprocess-budoux

npm version npm downloads

JSR JSR

Screenshot 2024-07-11 at 11 39 44

Configuration

You can choose svelte prerocessor or sveltekit hooks

Preprocessor

svelte.config.js

import { budouxPreprocess } from 'svelte-preprocess-budoux';

const config = {
	preprocess: [
		vitePreprocess(),
		budouxPreprocess({ language: 'ja' }),
	],
	// ... other svelte options
};

export default config;

SvelteKit hooks

hooks.server.js

import { budouxHandle } from 'svelte-preprocess-budoux';

export const handle = budouxHandle({ language: 'ja' });
1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

12 months ago

0.4.4

12 months ago

0.4.3

12 months ago

0.4.2

12 months ago

0.4.1

12 months ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago