Open alexbeletsky opened 8 years ago
+1 here, finding the same issue with Webpack 2.
I'm suspecting it has something to do with CORS. I'm seeing the woff file being requested, but I see the redirection error page, which means that it couldn't reach it. I'm also setting a public path to the assets (/assets
), and that's not to be seen in the woff url.
@alexbeletsky note that in Webpack 2, you need to explicitly state the -loader
suffix, like so:
{
test: /\.(otf|eot|svg|ttf|woff|woff2).*$/,
loader: 'url-loader?limit=8192'
}
I installed the library and configured webpack according to documentation. But if I try to use the icon, what I see is,
The code,
Webpack.js
I tried both,
And in
scss
Nothing helps.
I don't understand how your library is actually loading octicons styles. Neither lib or demo app loads it. How should it work?