Different with self components, between development and production mode



Using new Vaddin API I create my own web components e.g. @Tag(“timeline”)

All work perfect to me until reach the production

From some unknown reason, despite on debug all looks well, the component does not render on browser

instead i got empty “timeline” tag

I can guess that something missing while run the production compilation but i have no clue

Anyone can give a hint where to start from?


I don’t know if it’s the source of your issues, but a custom element tag must contain at least one hyphen; timeline is an invalid HTML tag. timeline-component would be a valid one.


looks like the compiler throw out all not in use + any component which has no NPM


after set optimizeBundle=false, now i dont have optimization but have my own component in solution.

Not clear to me why both come together, but this is the situation