Using the guides, I try to collect all my styles in one assembly on a Webpack. There is a main file, another one is imported into it, in which there are several @font-face rules with paths to font files. When building a Webpack, it gives an error along these paths, says: you need a special loader:
ERROR in ./fonts/a_coppergothcaps-bold.ttf Module parse failed: Unexpected character '' (1: 0) This file type. (Source code omitted for this binary file)
But I don’t really need (or need?) To add these files to the assembly. It is enough for me if these rules remain in the assembly, and the browser itself connects the fonts by the links in them. How to tell Webpack, so as not to try to process these paths, but simply insert them as they are? Or do I incorrectly see the solution to the problem? Maybe I use the wrong typefaces?
These are the rules in the config:
module: { rules: [ { test: /\.scss$/, use: ExtractTextPlugin.extract({ fallback: 'style-loader', use: ['css-loader', 'sass-loader'] }) } ] },