gowravshekar / bootstrap-webpack

bootstrap package for webpack
MIT License
135 stars 22 forks source link

Incomplete regexp for woff files in example #15

Closed phtrivier closed 9 years ago

phtrivier commented 9 years ago

Seems like the example line does not work

  { test: /\.woff$/,   loader: "url-loader?limit=10000&mimetype=application/font-woff" },

I stumbled on the same issue as : https://github.com/webpack/less-loader/issues/44

This seems to work (at least it compiles)

 { test: /\.(woff|woff2)$/,   loader: "url-loader?limit=10000&mimetype=application/font-woff" },
DannyDelott commented 9 years ago

This helped me! Thanks!

gowravshekar commented 9 years ago

Updated README.

phtrivier commented 9 years ago

Thanks.