Catch the highlights of GraphQLConf 2023! Click for recordings. Or check out our recap blog post.
Docs
Tools
Vite - Striper

🥶 How to - vite-plugin-striper

💡

KitQL itself is not a library, it's "nothing" but a collection of standalone libraries.

The first need was to remove @BackendMethod from your browser bundle for remult.

Examples

vite.config.ts
import { sveltekit } from '@sveltejs/kit/vite'
import { defineConfig } from 'vite'
import { striper } from 'vite-plugin-striper'
 
export default defineConfig({
  plugins: [
    // To strip `@BackendMethod` from your browser bundle
    striper({ decorators: ['BackendMethod'] }),
    sveltekit()
  ]
})

Installation

npm i -D vite-plugin-striper

Configuration

🚧🚧🚧