Im relatively new to all of this and have been struggling getting my fonts to be included into my style.css.
At first it was not loading the files due to the path being incorrect (apparently it was looking for relative path from root rather than within the fonts directory itself)
Not it seems to find the files but tells me I am using the wrong loader. See Below:
module: {
loaders: [
{
test: /\.jsx?$/,
exclude: /(node_modules|bower_components)/,
loader: 'babel-loader',
query: {
presets: ['react', 'es2015', 'stage-0'],
plugins: ['react-html-attrs', 'transform-class-properties', 'transform-decorators-legacy'],
}
},
{
test: /\.scss?$/,
loader: ExtractTextPlugin.extract('css!sass')
},
{
test: /\.(png|woff|woff2|eot|ttf|svg)$/,
loader: 'url-loader?limit=100000'
}
]
},
The error I get is the following:
Any help is appreciated.