Skip to content

Commit

Permalink
🔧 Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
rayriffy committed Dec 12, 2019
1 parent c4b8beb commit 59fd48e
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 15 deletions.
12 changes: 6 additions & 6 deletions gatsby-browser.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export * from './src/gatsby/browser/onServiceWorkerInstalled'
export * from './src/gatsby/browser/onServiceWorkerUpdateFound'
export * from './src/gatsby/browser/onServiceWorkerUpdateReady'
export * from './src/gatsby/browser/replaceHydrateFunction'
export * from './src/gatsby/browser/wrapPageElement'
export * from './src/gatsby/browser/wrapRootElement'
export { onServiceWorkerInstalled } from './src/gatsby/browser/onServiceWorkerInstalled'
export { onServiceWorkerUpdateFound } from './src/gatsby/browser/onServiceWorkerUpdateFound'
export { onServiceWorkerUpdateReady } from './src/gatsby/browser/onServiceWorkerUpdateReady'
export { replaceHydrateFunction } from './src/gatsby/browser/replaceHydrateFunction'
export { wrapPageElement } from './src/gatsby/browser/wrapPageElement'
export { wrapRootElement } from './src/gatsby/browser/wrapRootElement'
10 changes: 7 additions & 3 deletions gatsby-node.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
exports.createPages = require('./src/gatsby/node/createPages').createPages
exports.onCreateWebpackConfig = require('./src/gatsby/node/onCreateWebpackConfig').onCreateWebpackConfig
exports.onPostBootstrap = require('./src/gatsby/node/onPostBootstrap').onPostBootstrap
const { createPages } = require('./src/gatsby/node/createPages')
const { onCreateWebpackConfig } = require('./src/gatsby/node/onCreateWebpackConfig')
const { onPostBootstrap } = require('./src/gatsby/node/onPostBootstrap')

exports.createPages = createPages
exports.onCreateWebpackConfig = onCreateWebpackConfig
exports.onPostBootstrap = onPostBootstrap
4 changes: 2 additions & 2 deletions gatsby-ssr.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './src/gatsby/ssr/wrapPageElement'
export * from './src/gatsby/ssr/wrapRootElement'
export { wrapPageElement } from './src/gatsby/ssr/wrapPageElement'
export { wrapRootElement } from './src/gatsby/ssr/wrapRootElement'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "rayriffy-h",
"description": "The missing piece of NHentai",
"version": "3.4.1",
"version": "3.4.2",
"author": "Phumrapee Limpianchop <[email protected]>",
"bugs": {
"url": "https://github.com/rayriffy/rayriffy-h/issues"
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const DrawerComponent: React.FC = () => {
<Heading size='2xl'>Riffy H</Heading>
<Text color='gray.500'>The missng piece of NHentai</Text>
<Text color='gray.400' fontSize='xs'>
Version 3.4.1
Version 3.4.2
</Text>
</Box>
<Divider mt={4} mb={2} />
Expand Down
1 change: 1 addition & 0 deletions src/app/components/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const AppComponent: React.FC = props => {
htmlAttributes={{ lang: 'en' }}
meta={[
{ name: 'description', content: 'The missing piece of NHentai' },
{ name: 'referrer', content: 'same-origin' },
]}
/>
<Box px={[3, 4, 5]}>
Expand Down
2 changes: 1 addition & 1 deletion src/gatsby/ssr/wrapPageElement.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'

import App from './src/app/components'
import App from '../../app/components'

export const wrapPageElement = ({ element, props }) => {
return <App {...props}>{element}</App>
Expand Down
2 changes: 1 addition & 1 deletion src/gatsby/ssr/wrapRootElement.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'

import Context from './src/store'
import Context from '../../store'

export const wrapRootElement = ({ element }) => {
return (
Expand Down

0 comments on commit 59fd48e

Please sign in to comment.