Currently, I am utilizing Nextjs and including the flaticon css in _app.js as follows:
import '../public/assets/css/flaticon.css';
In the upcoming section, an error is being encountered:
@font-face {
font-family: 'Flaticon';
src: url('../fonts/Flaticon.eot');
src: url('../fonts/Flaticond41d.eot?#iefix') format('embedded-opentype'),
url('../fonts/Flaticon.woff') format('woff'),
url('../fonts/Flaticon.ttf') format('truetype'),
url('../fonts/Flaticon.html#Flaticon') format('svg');
font-weight: normal;
font-style: normal;
}
The error message received is:
error - ./public/assets/css/Flaticon.html
Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> <!DOCTYPE html>
| <html lang="en-US" prefix="og: http://ogp.me/ns#">
| <head>