Skip to content

Commit

Permalink
Add rule to make possible import raw svg
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Jul 17, 2023
1 parent 573dbd0 commit 2f63a54
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ module.exports = merge(nextcloudWebpackConfig, {
port: 3000, // use any port suitable for your configuration
host: '0.0.0.0', // to accept connections from outside container
},
module: {
rules: [
{
resourceQuery: /raw/,
type: 'asset/source',
},
],
},
resolve: {
alias: {
apps: path.resolve(__dirname, '../../apps'),
Expand Down

0 comments on commit 2f63a54

Please sign in to comment.