Browse Source

Add woff2 in loader config

Thomas Dy 8 years ago
parent
commit
84a1b0cff5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      webpack.config.js

+ 1 - 0
webpack.config.js

@@ -13,6 +13,7 @@ module.exports = {
             { test: /\.jsx$/, loaders: ["react-hot", "jsx"] },
 
             // for bootstrap stuff
+            { test: /\.woff2(\?v=\d+\.\d+\.\d+)?$/,  loader: "url?limit=10000&mimetype=application/font-woff" },
             { test: /\.woff(\?v=\d+\.\d+\.\d+)?$/,   loader: "url?limit=10000&mimetype=application/font-woff" },
             { test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/,    loader: "url?limit=10000&mimetype=application/octet-stream" },
             { test: /\.eot(\?v=\d+\.\d+\.\d+)?$/,    loader: "file" },