Skip to content

Commit 829a692

Browse files
Merge pull request #3665 from nextcloud/fix/svg-errors
2 parents dc1be2b + 8153281 commit 829a692

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

webpack.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@ webpackRules.RULE_JS.exclude = BabelLoaderExcludeNodeModulesExcept([
105105
'tributejs',
106106
])
107107

108+
webpackRules.RULE_RAW_SVG = {
109+
resourceQuery: /raw/,
110+
type: 'asset/source',
111+
}
112+
108113
webpackConfig.module.rules = Object.values(webpackRules)
109114

110115
module.exports = async () => {

0 commit comments

Comments
 (0)