I updated Encore webpack and its dependencies. Since, I have this error :
Error: Can't resolve '/fonts/Basier-Circle-medium-webfont/basiercircle-medium-webfont.woff' in 'E:\Projets web\Roadtripr\roadtripr\assets\css' at runMicrotasks ()
The font-files are in the public/fonts
directory.
EDIT :
There is the @font-face declaration :
/* Basier */
@font-face {
font-family: 'Basier';
src: url('/fonts/Basier-Circle-regular-webfont/basiercircle-regular-webfont.woff') format('woff'),
url('/fonts/Basier-Circle-regular-webfont/basiercircle-regular-webfont.woff2') format('woff2');
font-weight: 100;
font-style: normal;
}
@font-face {
font-family: 'Basier';
src: url('/fonts/Basier-Circle-regular-webfont/basiercircle-regular-webfont.woff') format('woff'),
url('/fonts/Basier-Circle-regular-webfont/basiercircle-regular-webfont.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Basier';
src: url('/fonts/Basier-Circle-medium-webfont/basiercircle-medium-webfont.woff') format('woff'),
url('/fonts/Basier-Circle-medium-webfont/basiercircle-medium-webfont.woff2') format('woff2');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'Basier';
src: url('/fonts/Basier-Circle-semibold-webfont/basiercircle-semibold-webfont.woff') format('woff'),
url('/fonts/Basier-Circle-semibold-webfont/basiercircle-semibold-webfont.woff2') format('woff2');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'Basier';
src: url('/fonts/Basier-Circle-bold-webfont/basiercircle-bold-webfont.woff') format('woff'),
url('/fonts/Basier-Circle-bold-webfont/basiercircle-bold-webfont.woff2') format('woff2');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'Basier';
src: url('/fonts/Basier-Circle-bold-webfont/basiercircle-bold-webfont.woff') format('woff'),
url('/fonts/Basier-Circle-bold-webfont/basiercircle-bold-webfont.woff2') format('woff2');
font-weight: bold;
font-style: normal;
}