Skip to content
This repository was archived by the owner on May 6, 2022. It is now read-only.

Commit 0215ad6

Browse files
committed
build: use development version in example
1 parent 4aab267 commit 0215ad6

File tree

10 files changed

+217
-125
lines changed

10 files changed

+217
-125
lines changed

examples/with-next/.babelrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

examples/with-next/.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
.next/**
2+
dist/**

examples/with-next/babel.config.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
const path = require('path')
2+
const pak = require('../../package.json')
3+
4+
module.exports = {
5+
presets: ['next/babel'],
6+
plugins: [
7+
'transform-optional-chaining',
8+
[
9+
'module-resolver',
10+
{
11+
alias: {
12+
[pak.name]: path.join(__dirname, '..', '..', pak.source)
13+
}
14+
}
15+
]
16+
]
17+
}

examples/with-next/next.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
const withTM = require('next-transpile-modules')(['graphiql'])
1+
const withTM = require('next-transpile-modules')(['graphiql', 'spokestack'])
22

33
module.exports = withTM()

examples/with-next/next.d.ts

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)