ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dpav...@apache.org
Subject [32/50] [abbrv] ignite git commit: IGNITE-8557 Web Console: Added support for SVG images.
Date Thu, 24 May 2018 12:51:55 GMT
IGNITE-8557 Web Console: Added support for SVG images.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/306f7786
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/306f7786
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/306f7786

Branch: refs/heads/ignite-5789-1
Commit: 306f778689e8a05a1487724a50d8ae61b8e4f5c4
Parents: 2be5295
Author: Dmitriy Shabalin <dmitriyff@gmail.com>
Authored: Tue May 22 18:00:20 2018 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Tue May 22 18:00:20 2018 +0700

----------------------------------------------------------------------
 modules/web-console/frontend/webpack/webpack.common.js | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/306f7786/modules/web-console/frontend/webpack/webpack.common.js
----------------------------------------------------------------------
diff --git a/modules/web-console/frontend/webpack/webpack.common.js b/modules/web-console/frontend/webpack/webpack.common.js
index 3b9aef0..452206a 100644
--- a/modules/web-console/frontend/webpack/webpack.common.js
+++ b/modules/web-console/frontend/webpack/webpack.common.js
@@ -128,11 +128,16 @@ export default {
                 loader: 'file?name=assets/fonts/[name].[ext]'
             },
             {
-                test: /.*\.svg$/,
+                test: /^(?:(?!url\.svg$).)*\.svg$/,
                 include: [contentBase, IgniteModules],
                 use: ['svg-sprite-loader']
             },
             {
+                test: /.*\.url\.svg$/,
+                include: [contentBase, IgniteModules],
+                loader: 'file?name=assets/fonts/[name].[ext]'
+            },
+            {
                 test: /\.(jpe?g|png|gif)$/i,
                 loader: 'file?name=assets/images/[name].[hash].[ext]'
             },


Mime
View raw message