Locally, it works perfectly but I can't deploy because the web-server folder doesn't build. The issue is
Cannot find module '../icons/icon.svg?react' or its corresponding type declarations.21 import Icon from "../icons/dexindex.svg?react";
Cannot find module '../icons/icon.svg?react' or its corresponding type declarations.21 import Icon from "../icons/dexindex.svg?react";
It seems like the web-server vite config correctly merges with the one from the root folder but it's not installed, or at least it doesn't show up in web-server's package.json.
Any ideas? I guess this issue would apply to any other vite plugin.
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
W
Wasp
Rails-like framework for React, Node.js and Prisma. Build your app in a day and deploy it with a single CLI command.