RollupError when I try to build #10749
-
I'm getting the following error when I try to build. I don't know what I can do anymore. Can anyone help me? error during build: During development time, the application is working perfectly |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
@gtalk-renato Do you have typescript in your project? You may need to add TS support into your rollup configuration.- https://www.npmjs.com/package/@rollup/plugin-typescript Can you provide your vite.config file? Can you provide a minimal reproduction example? Basic vite.config looks like:
|
Beta Was this translation helpful? Give feedback.
-
@Yordan-Ramchev
|
Beta Was this translation helpful? Give feedback.
-
@Yordan-Ramchev I am very grateful for the help.
|
Beta Was this translation helpful? Give feedback.
@gtalk-renato Rename
/src/models/notification/INotification
to INotification.ts - this will fix the build, but somethings that you should consider:</body>
tags in index.html