Documentation
Installation

Installation

Install package

Terminal
pnpm i sveltris

Setup plugin

const { sveltrisEsbuildPlugins } = require("sveltris")
const esbuild = require('esbuild')
 
esbuild.build({
  // ... rest of your config
  plugins: [
    ...sveltrisEsbuildPlugins()
  ]
})
💡

You might need to add the bundler plugins for Svelte and React if you haven't already added those.