fix(normal build): Trying to get normal build working

This commit is contained in:
Chris Troutner
2020-07-07 12:23:29 -07:00
parent 78f0ee258d
commit a9a058ca62
+4 -3
View File
@@ -1,4 +1,4 @@
const ipfsPrefix = process.argv.find(val => val === '--prefix-paths')
// const ipfsPrefix = process.argv.find(val => val === '--prefix-paths')
// console.log('DEBUG >> IM HERE')
const ipfsConfig = [
@@ -68,6 +68,7 @@ module.exports = {
description: 'A gatsbyjs app with adminlte2 integration.',
author: '@gatsbyjs'
},
pathPrefix: '__GATSBY_IPFS_PATH_PREFIX__',
plugins: ipfsPrefix ? normalConfig : ipfsConfig
// pathPrefix: '__GATSBY_IPFS_PATH_PREFIX__',
// plugins: ipfsPrefix ? normalConfig : ipfsConfig
plugins: normalConfig
}