fix: tailwind should parse the whole component folder (#96)

This commit is contained in:
Thuc Pham
2024-06-20 16:29:30 +07:00
committed by GitHub
parent 5c16a343ea
commit bcec5d4874
3 changed files with 7 additions and 4 deletions
+2 -2
View File
@@ -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
View File
@@ -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
View File
@@ -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: {