Skip to content

Commit

Permalink
fix(build): build gatsby plugins with babel
Browse files Browse the repository at this point in the history
  • Loading branch information
schettn authored Aug 31, 2021
1 parent 7a36761 commit 951ae23
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/jaen-pages/gatsby-browser.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as browser from './src/gatsby/gatsby-browser'
import * as browser from './dist/gatsby/gatsby-browser'

export const wrapRootElement = browser.wrapRootElement
export const wrapPageElement = browser.wrapPageElement
2 changes: 1 addition & 1 deletion packages/jaen-pages/gatsby-config.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('./src/gatsby/gatsby-config')
module.exports = require('./dist/gatsby/gatsby-config')
2 changes: 1 addition & 1 deletion packages/jaen-pages/gatsby-node.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('./src/gatsby/gatsby-node')
module.exports = require('./dist/gatsby/gatsby-node')
2 changes: 1 addition & 1 deletion packages/jaen-pages/gatsby-ssr.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as ssr from './src/gatsby/gatsby-ssr'
import * as ssr from './dist/gatsby/gatsby-ssr'

export const wrapRootElement = ssr.wrapRootElement
export const wrapPageElement = ssr.wrapPageElement
2 changes: 1 addition & 1 deletion packages/jaen-pages/index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('./src/index')
module.exports = require('./dist/index')
3 changes: 3 additions & 0 deletions packages/jaen-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "2.0.0-beta.1",
"main": "index.js",
"license": "EUPL-1.2",
"files": [
"dist"
],
"dependencies": {
"@chakra-ui/icons": "^1.0.15",
"@chakra-ui/react": "^1.6.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/jaen/gatsby-browser.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import * as browser from './src/gatsby/gatsby-browser'
import * as browser from './dist/gatsby/gatsby-browser'

export const wrapRootElement = browser.wrapRootElement
2 changes: 1 addition & 1 deletion packages/jaen/gatsby-config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require('source-map-support').install()
require('ts-node').register()

module.exports = require('./src/gatsby/gatsby-config')
module.exports = require('./dist/gatsby/gatsby-config')
2 changes: 1 addition & 1 deletion packages/jaen/gatsby-node.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('./src/gatsby/gatsby-node')
module.exports = require('./dist/gatsby/gatsby-node')
2 changes: 1 addition & 1 deletion packages/jaen/gatsby-ssr.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import * as ssr from './src/gatsby/gatsby-ssr'
import * as ssr from './dist/gatsby/gatsby-ssr'

export const wrapRootElement = ssr.wrapRootElement
2 changes: 1 addition & 1 deletion packages/jaen/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require('source-map-support').install()
require('ts-node').register()

module.exports = require('./src')
module.exports = require('./dist')
4 changes: 3 additions & 1 deletion packages/jaen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
"name": "@snek-at/jaen",
"version": "2.0.0-beta.1",
"main": "index.js",
"types": "src/index.ts",
"license": "EUPL-1.2",
"files": [
"dist"
],
"dependencies": {
"@loadable/component": "^5.15.0",
"@snek-at/jaen-shared-ui": "2.0.0-beta.1",
Expand Down

0 comments on commit 951ae23

Please sign in to comment.