mirror of
https://github.com/run-llama/chat-llamaindex.git
synced 2026-07-01 21:04:08 -04:00
fix: tailwind should parse the whole component folder (#96)
This commit is contained in:
+2
-2
@@ -4,7 +4,7 @@ echo -e "\nAdding sources from create-llama..."
|
||||
|
||||
# Remove current create-llama folder
|
||||
rm -rf app/api/chat/config
|
||||
# rm -rf app/api/files
|
||||
rm -rf app/api/files
|
||||
rm -rf cl
|
||||
|
||||
# Run the node command with specified options
|
||||
@@ -26,7 +26,7 @@ npx -y create-llama@0.1.10 \
|
||||
|
||||
# copy routes from create-llama to app
|
||||
# Note: if changes on these routes are needed, copy them to the project's app folder
|
||||
# cp -r cl/app/api/files app/api/files
|
||||
cp -r cl/app/api/files app/api/files
|
||||
cp -r cl/app/api/chat/config app/api/chat/config
|
||||
|
||||
# copy example .env file
|
||||
|
||||
+4
-1
@@ -6,6 +6,9 @@ const nextConfig = {
|
||||
outputFileTracingIncludes: {
|
||||
"/*": ["./cache/**/*"],
|
||||
},
|
||||
outputFileTracingExcludes: {
|
||||
"/api/files/*": [".next/**/*", "node_modules/**/*", "public/**/*", "app/**/*"],
|
||||
},
|
||||
},
|
||||
webpack: (config) => {
|
||||
// See https://webpack.js.org/configuration/resolve/#resolvealias
|
||||
@@ -15,7 +18,7 @@ const nextConfig = {
|
||||
"onnxruntime-node$": false,
|
||||
};
|
||||
config.resolve.fallback = {
|
||||
"aws4": false
|
||||
aws4: false,
|
||||
};
|
||||
return config;
|
||||
},
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ module.exports = {
|
||||
'./components/**/*.{ts,tsx}',
|
||||
'./app/**/*.{ts,tsx}',
|
||||
'./src/**/*.{ts,tsx}',
|
||||
'./cl/app/components/ui/chat/**/*.{ts,tsx}'
|
||||
'./cl/app/components/**/*.{ts,tsx}'
|
||||
],
|
||||
theme: {
|
||||
container: {
|
||||
|
||||
Reference in New Issue
Block a user