Updated dependencies.
The latest version of Next.js ships with webpack v3, which requires a config workaround.
This commit is contained in:
parent
571f073b70
commit
832a13147c
@ -2,23 +2,23 @@
|
|||||||
"name": "apollo-upload-examples-api",
|
"name": "apollo-upload-examples-api",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"apollo-upload-server": "^2.0.1",
|
"apollo-upload-server": "^2.0.3",
|
||||||
"babel-core": "^6.24.1",
|
"babel-core": "^6.25.0",
|
||||||
"babel-loader": "^7.0.0",
|
"babel-loader": "^7.1.1",
|
||||||
"babel-preset-env": "^1.4.0",
|
"babel-preset-env": "^1.6.0",
|
||||||
"babel-preset-stage-0": "^6.24.1",
|
"babel-preset-stage-0": "^6.24.1",
|
||||||
"graphql": "^0.9.3",
|
"graphql": "^0.10.3",
|
||||||
"graphql-server-koa": "^0.7.2",
|
"graphql-server-koa": "^1.0.0",
|
||||||
"graphql-tag": "^2.0.0",
|
"graphql-tag": "^2.4.2",
|
||||||
"graphql-tools": "^0.11.0",
|
"graphql-tools": "^1.1.0",
|
||||||
"kcors": "^2.2.1",
|
"kcors": "^2.2.1",
|
||||||
"koa": "^2.2.0",
|
"koa": "^2.3.0",
|
||||||
"koa-bodyparser": "^4.2.0",
|
"koa-bodyparser": "^4.2.0",
|
||||||
"koa-compress": "^2.0.0",
|
"koa-compress": "^2.0.0",
|
||||||
"koa-router": "^7.1.1",
|
"koa-router": "^7.2.1",
|
||||||
"lowdb": "^0.16.2",
|
"lowdb": "^0.16.2",
|
||||||
"source-map-support": "^0.4.14",
|
"source-map-support": "^0.4.15",
|
||||||
"webpack": "^2.4.1",
|
"webpack": "^2.6.1",
|
||||||
"zoo": "^0.1.9"
|
"zoo": "^0.1.9"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
7
app/next.config.js
Normal file
7
app/next.config.js
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
module.exports = {
|
||||||
|
webpack: config => {
|
||||||
|
// See https://github.com/webpack/webpack/issues/5135
|
||||||
|
config.module.strictThisContextOnImports = true
|
||||||
|
return config
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -2,12 +2,12 @@
|
|||||||
"name": "apollo-upload-examples-app",
|
"name": "apollo-upload-examples-app",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"apollo-upload-client": "^4.0.1",
|
"apollo-upload-client": "^5.0.0",
|
||||||
"babel-plugin-transform-inline-environment-variables": "^0.0.2",
|
"babel-plugin-transform-inline-environment-variables": "^0.1.1",
|
||||||
"next": "^2.3.0-alpha1",
|
"next": "^3.0.1-beta.10",
|
||||||
"react": "^15.5.4",
|
"react": "^15.6.1",
|
||||||
"react-apollo": "^1.1.0",
|
"react-apollo": "^1.4.3",
|
||||||
"react-dom": "^15.5.4",
|
"react-dom": "^15.6.1",
|
||||||
"zoo": "^0.1.9"
|
"zoo": "^0.1.9"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user