【webpack】戴入字型檔 error
最近很流行使用字型檔來戴入 icon, 但在 webpack 裡,似乎會出一點錯:
如果你使用了:
{test: /\.woff$/, loader: “url-loader?limit=10000&minetype=application/font-woff”},
{test: /\.woff2$/, loader: “url-loader?limit=10000&minetype=application/font-woff”},
{test: /\.ttf$/…