Use babel-plugin-graphql-tag for the app.
This reduces the production bundle size.
This commit is contained in:
parent
0a7165e618
commit
44efa43dac
20
app/package-lock.json
generated
20
app/package-lock.json
generated
@ -788,6 +788,16 @@
|
||||
"babel-template": "6.26.0"
|
||||
}
|
||||
},
|
||||
"babel-literal-to-ast": {
|
||||
"version": "0.1.2",
|
||||
"resolved": "https://registry.npmjs.org/babel-literal-to-ast/-/babel-literal-to-ast-0.1.2.tgz",
|
||||
"integrity": "sha1-9QqpY3EZNa3xnaDVpN78gnrV9AM=",
|
||||
"requires": {
|
||||
"babel-traverse": "6.26.0",
|
||||
"babel-types": "6.26.0",
|
||||
"babylon": "6.18.0"
|
||||
}
|
||||
},
|
||||
"babel-loader": {
|
||||
"version": "7.1.2",
|
||||
"resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-7.1.2.tgz",
|
||||
@ -814,6 +824,16 @@
|
||||
"babel-runtime": "6.26.0"
|
||||
}
|
||||
},
|
||||
"babel-plugin-graphql-tag": {
|
||||
"version": "1.3.1",
|
||||
"resolved": "https://registry.npmjs.org/babel-plugin-graphql-tag/-/babel-plugin-graphql-tag-1.3.1.tgz",
|
||||
"integrity": "sha1-ovBpbscRRkogggEeDHlqLazt05o=",
|
||||
"requires": {
|
||||
"babel-literal-to-ast": "0.1.2",
|
||||
"babel-types": "6.26.0",
|
||||
"debug": "2.6.9"
|
||||
}
|
||||
},
|
||||
"babel-plugin-module-resolver": {
|
||||
"version": "2.7.1",
|
||||
"resolved": "https://registry.npmjs.org/babel-plugin-module-resolver/-/babel-plugin-module-resolver-2.7.1.tgz",
|
||||
|
||||
@ -10,6 +10,7 @@
|
||||
"apollo-client": "^2.2.0",
|
||||
"apollo-link": "^1.0.7",
|
||||
"apollo-upload-client": "^7.0.0-alpha.4",
|
||||
"babel-plugin-graphql-tag": "^1.3.1",
|
||||
"babel-plugin-transform-inline-environment-variables": "^0.2.0",
|
||||
"dotenv-cli": "^1.4.0",
|
||||
"graphql": "^0.12.3",
|
||||
@ -43,7 +44,8 @@
|
||||
"next/babel"
|
||||
],
|
||||
"plugins": [
|
||||
"transform-inline-environment-variables"
|
||||
"transform-inline-environment-variables",
|
||||
"graphql-tag"
|
||||
]
|
||||
},
|
||||
"eslintConfig": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user