▎ Addon ‘superfields-0.20.3.jar’ contains frontend sources under META-INF/resources/frontend/. This location is deprecated; migrate them to META-INF/frontend/ (bundle sources
for @JsModule/@CssImport) or to META-INF/resources/ (runtime resources for @StyleSheet/@JavaScript).
Components shipping .js are unaffected (raw JS is valid). Only the four .ts files break.
Suggested fix
Either:
- (a) Compile these four .ts to .js before packaging, consistent with the rest of the library, and/or
- (b) Move the bundle sources (@JsModule/@CssImport inputs) to META-INF/frontend/ as recommended, so Vaadin compiles them as bundle sources.
Steps to reproduce
- Vaadin 25.2.2 app in dev mode using superfields 0.20.3.
- Use a view that pulls in SuperBigDecimalField (or the integer/long/double variants).
- Open the app → blank page + the SyntaxError above.
Workaround for other users
Pin the frontend Vite version back to the one shipped by Vaadin 25.2.1 (8.0.16), which still transpiles these .ts files, via a pnpm override:
pnpm-workspace.yaml
overrides:
vite: 8.0.16