I am not great at webpack. I have not really \'learned it\', I have a template/boilerplate I pull from a repo I made that gives me an environment to build in React. I am str
Every extension you import, require or load any other way must have its own loader.
As of woff2 you might have added something like:
{
test: /\.woff2$/,
loader: 'url',
query: {
limit: 10240,
name: 'static/[hash].[ext]'
}
}
You might want to check the url-loader documentation about all the parameters it accepts.
You also may match multiple different filename patterns to use with the same loader, eg:
{
test: /\.(eot|ttf|svg|png|gif|woff2?$/,
loader: 'url',
query: {
limit: 10240,
name: 'static/[hash].[ext]'
}
}
This would load all those extensions.