Vaadin 14 frontend-folder isnt used

Hello guys,

with vaadin 14 the frontend folder changed

from [project-root]
/src/main/webapp/frontend/

to [project-root]
/frontend/

when i try to load a .css/.js file with

UI.getCurrent().getPage().addStyleSheet(“./styles/styles.css”);

or with a animation @StyleSheet(“./styles/styles.css”)

it still loads it from the [project-root]
/src/main/webapp/frontend/ folder. Is there a file where i have to configure this or how exactly does it work?

The styles.css is under [project-root]
/frontend/styles/styles.css