Skip to content

Building 70 Projects ranging from beginner to advanced so anyone can β€” learn from, build upon, use as a reference, or even copy directly. Owned by my cybersecurity company πŸ‘‡

fix(not-sandboxed): every multi-word CSS module class was dead, and the page still looked plausible

CarterPerez-dev9a0293edbe99
diff --git a/PROJECTS/beginner/prompt-injection-firewall/frontend/vite.config.ts b/PROJECTS/beginner/prompt-injection-firewall/frontend/vite.config.ts
index 7d7d7c23..cfb5dd7d 100644
--- a/PROJECTS/beginner/prompt-injection-firewall/frontend/vite.config.ts
+++ b/PROJECTS/beginner/prompt-injection-firewall/frontend/vite.config.ts
@@ -24,6 +24,9 @@ export default defineConfig(({ mode }) => {
},
css: {
+ modules: {
+ localsConvention: 'camelCaseOnly',
+ },
preprocessorOptions: {
scss: {},
},