Skip to content

Commit 432bba5

Browse files
authored
Merge pull request #16 from w3f-webops/fix/svg-import
Fix/svg import
2 parents 7be7d18 + 424c236 commit 432bba5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

example/src/images/.gitkeep

Whitespace-only changes.

gatsby-theme-w3f/gatsby-config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ module.exports = ({
7575
resolve: `gatsby-source-filesystem`,
7676
options: {
7777
name: `icons`,
78-
path: `${__dirname}/src/images`,
78+
path: path.resolve('src/images/')
7979
},
8080
},
8181

@@ -84,7 +84,7 @@ module.exports = ({
8484
resolve: 'gatsby-plugin-react-svg',
8585
options: {
8686
rule: {
87-
include: `${__dirname}/src/images/svgs/`,
87+
include: path.resolve('src/images/svgs')
8888
},
8989
},
9090
},

0 commit comments

Comments
 (0)