You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've a react project using vite. I need to create two websites using same codes. One of them will be lite version and the other one will be full version. For example lite version will have 20 pages, full version will have 50 pages including 20 pages in lite version as well. But I dont want to create two different repos because of maintenance issues.
Is it possible to build two different outputs for same project? I think I can define an environment variable and use it for discrimination.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi
I've a react project using vite. I need to create two websites using same codes. One of them will be lite version and the other one will be full version. For example lite version will have 20 pages, full version will have 50 pages including 20 pages in lite version as well. But I dont want to create two different repos because of maintenance issues.
Is it possible to build two different outputs for same project? I think I can define an environment variable and use it for discrimination.
How can achieve this?
Beta Was this translation helpful? Give feedback.
All reactions