|
1 | 1 | // const ipfsPrefix = process.argv.find(val => val === '--prefix-paths') |
2 | 2 | // console.log('DEBUG >> IM HERE') |
3 | 3 |
|
4 | | -const ipfsConfig = [ |
5 | | - 'gatsby-plugin-ipfs', |
6 | | - 'gatsby-plugin-react-helmet', |
7 | | - { |
8 | | - resolve: 'gatsby-source-filesystem', |
9 | | - options: { |
10 | | - start_url: '__GATSBY_IPFS_PATH_PREFIX__', |
11 | | - name: 'images', |
12 | | - path: `${__dirname}/src/images` |
13 | | - } |
14 | | - }, |
15 | | - 'gatsby-transformer-sharp', |
16 | | - 'gatsby-plugin-sharp', |
17 | | - { |
18 | | - resolve: 'gatsby-plugin-manifest', |
19 | | - options: { |
20 | | - name: 'gatsby-starter-default', |
21 | | - short_name: 'starter', |
22 | | - start_url: '__GATSBY_IPFS_PATH_PREFIX__', |
23 | | - background_color: '#663399', |
24 | | - theme_color: '#663399', |
25 | | - display: 'minimal-ui', |
26 | | - icon: 'src/images/gatsby-icon.png' // This path is relative to the root of the site. |
27 | | - } |
28 | | - } |
29 | | - |
30 | | - // this (optional) plugin enables Progressive Web App + Offline functionality |
31 | | - // To learn more, visit: https://gatsby.dev/offline |
32 | | - // `gatsby-plugin-offline`, |
33 | | -] |
| 4 | +// const ipfsConfig = [ |
| 5 | +// 'gatsby-plugin-ipfs', |
| 6 | +// 'gatsby-plugin-react-helmet', |
| 7 | +// { |
| 8 | +// resolve: 'gatsby-source-filesystem', |
| 9 | +// options: { |
| 10 | +// start_url: '__GATSBY_IPFS_PATH_PREFIX__', |
| 11 | +// name: 'images', |
| 12 | +// path: `${__dirname}/src/images` |
| 13 | +// } |
| 14 | +// }, |
| 15 | +// 'gatsby-transformer-sharp', |
| 16 | +// 'gatsby-plugin-sharp', |
| 17 | +// { |
| 18 | +// resolve: 'gatsby-plugin-manifest', |
| 19 | +// options: { |
| 20 | +// name: 'gatsby-starter-default', |
| 21 | +// short_name: 'starter', |
| 22 | +// start_url: '__GATSBY_IPFS_PATH_PREFIX__', |
| 23 | +// background_color: '#663399', |
| 24 | +// theme_color: '#663399', |
| 25 | +// display: 'minimal-ui', |
| 26 | +// icon: 'src/images/gatsby-icon.png' // This path is relative to the root of the site. |
| 27 | +// } |
| 28 | +// } |
| 29 | +// |
| 30 | +// // this (optional) plugin enables Progressive Web App + Offline functionality |
| 31 | +// // To learn more, visit: https://gatsby.dev/offline |
| 32 | +// // `gatsby-plugin-offline`, |
| 33 | +// ] |
34 | 34 |
|
35 | 35 | const normalConfig = [ |
36 | 36 | 'gatsby-plugin-react-helmet', |
|
0 commit comments