Skip to content

Repository files navigation

vite-plugin-bookemoji

This is the Vite plugin that powers the bookemoji.dev experience.

It exists to create virtual files for the bookemoji package to access from user-land.

Key Detail

In order for this plugin to work you need to set it/it's library as excluded:

import { sveltekit } from "@sveltejs/kit/vite";
import { defineConfig } from "vite";
import { bookemoji } from "bookemoji/vite";

export default defineConfig({
  plugins: [sveltekit(), bookemoji()],
+  optimizeDeps: {
+    exclude: ["bookemoji"],
+  },
  server: {},
});

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages