rename to embed folder

This commit is contained in:
timothycarambat 2024-02-01 13:55:37 -08:00
parent feb686dc36
commit 97bc5fa39b
32 changed files with 8 additions and 20 deletions

3
embed/README.md Normal file
View File

@ -0,0 +1,3 @@
# AnythingLLM Embedded Mode
This folder of AnythingLLM contains the source code for how the embedded version of AnythingLLM works to provide a public facing interface of your workspace.

View File

@ -1,7 +1,6 @@
{
"name": "embedded-app",
"name": "anythingllm-embedded-chat",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "nodemon -e js,jsx,css --watch src --exec \"yarn run dev:preview\"",

View File

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

View File

@ -36,7 +36,10 @@ export default defineConfig({
fileName: (format) => `embedded-anything-llm.${format}.js`
},
rollupOptions: {
external: []
external: [
// Reduces transformation time by 50% and we don't even use this variant, so we can ignore.
/@phosphor-icons\/react\/dist\/ssr/,
]
},
commonjsOptions: {
transformMixedEsModules: true

View File

@ -1,8 +0,0 @@
# React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

View File

@ -1,9 +0,0 @@
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{js,jsx,ts,tsx}"],
theme: {
extend: {},
},
plugins: [],
}