Skip to content

Commit cf89b9b

Browse files
committed
webpack: Avoid SVG file inlining
While this works and can be beneficial, it conflicts with our Content Security Policy (https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CSP) setting in production, so let's avoid the inlining for now until we can figure out a way to improve compatibility between the two.
1 parent 3d0a683 commit cf89b9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ember-cli-build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ module.exports = function (defaults) {
105105
},
106106
{
107107
test: /\.svg$/,
108-
type: 'asset',
108+
type: 'asset/resource',
109109
},
110110
],
111111
},

0 commit comments

Comments
 (0)