@ctx-core/svelte-preprocess
TypeScript icon, indicating that this package has built-in type declarations

1.1.203 • Public • Published

@ctx-core/svelte-preprocess

Preprocessing scripts for svelte

Install

npm i @ctx-core/svelte-preprocess

Preprocess

// rollup.config.js
import { proprocess_ } from '@ctx-core/svelte/node'
const preprocess = proprocess_([
	// preprocess object 1,
	// preprocess object 2,
])
export default {
	client: {
		//...
		plugins: [
			// ...
			svelte({
				// ...
				preprocess,
			}),
			// ...
		],
		// ...
	},
	server: {
		//...
		plugins: [
			// ...
			svelte({
				// ...
				preprocess,
			}),
			// ...
		],
		// ...
	},
	serviceworker: {
		// ...
	},
}

Readme

Keywords

Package Sidebar

Install

npm i @ctx-core/svelte-preprocess

Weekly Downloads

190

Version

1.1.203

License

Apache-2.0

Unpacked Size

17.4 kB

Total Files

10

Last publish

Collaborators

  • btakita