diff options
-rw-r--r-- | webpackBaseConfig.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/webpackBaseConfig.js b/webpackBaseConfig.js index da105ee2..1aaf6c75 100644 --- a/webpackBaseConfig.js +++ b/webpackBaseConfig.js @@ -283,7 +283,7 @@ module.exports = { test: /\.eot(\?v=\d+\.\d+\.\d+)?$/, loader: "file" }, { - test: /\.(woff|woff2)$/, + test: /\.(woff|woff2)(\?v=\d+\.\d+\.\d+)?$/, loader: "url?prefix=font/&limit=5000" }, { test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/, @@ -291,6 +291,12 @@ module.exports = { }, { test: /\.svg(\?v=\d+\.\d+\.\d+)?$/, loader: "url?limit=10000&mimetype=image/svg+xml" + }, { + test: /\.png(\?v=\d+\.\d+\.\d+)?$/, + loader: "url?limit=10000&mimetype=image/png" + }, { + test: /\.gif(\?v=\d+\.\d+\.\d+)?$/, + loader: "url?limit=10000&mimetype=image/gif" }] }, |