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:
@@ -12,5 +12,15 @@ module.exports = {
|
|||||||
{ from: 'LICENSE', to: './' }
|
{ from: 'LICENSE', to: './' }
|
||||||
])
|
])
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
chainWebpack: config => {
|
||||||
|
const svgRule = config.module.rule('svg')
|
||||||
|
svgRule.uses.clear()
|
||||||
|
svgRule
|
||||||
|
.use('url-loader')
|
||||||
|
.loader('url-loader')
|
||||||
|
.options({
|
||||||
|
limit: 10000
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user