1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-06 18:18:53 +08:00

Fix: Tiny SVGs are not embedded #26

This commit is contained in:
lana-k
2020-12-21 22:22:59 +01:00
parent e2db4e2634
commit 94bb793b23

View File

@@ -12,5 +12,15 @@ module.exports = {
{ from: 'LICENSE', to: './' }
])
]
},
chainWebpack: config => {
const svgRule = config.module.rule('svg')
svgRule.uses.clear()
svgRule
.use('url-loader')
.loader('url-loader')
.options({
limit: 10000
})
}
}