Skip to content

Commit 238e61a

Browse files
committed
Create babel-preset-graphpack
1 parent 93b10fe commit 238e61a

File tree

5 files changed

+16
-1
lines changed

5 files changed

+16
-1
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"name": "babel-preset-graphpack",
3+
"version": "0.0.0",
4+
"description": "Babel preset for Graphpack",
5+
"main": "index.js",
6+
"repository": "https://github.com/glennreyes/graphpack",
7+
"author": "Glenn Reyes <glenn@glennreyes.com>",
8+
"license": "MIT"
9+
}

packages/graphpack/config/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module.exports = {
2929
options: {
3030
babelrc: true,
3131
cacheDirectory: true,
32-
presets: [require.resolve('../babel.config')],
32+
presets: [require.resolve('babel-preset-graphpack')],
3333
},
3434
},
3535
],

packages/graphpack/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"@babel/preset-env": "^7.1.0",
1616
"apollo-server": "2.1.0",
1717
"babel-loader": "^8.0.4",
18+
"babel-preset-graphpack": "^0.0.0",
1819
"cosmiconfig": "^5.0.6",
1920
"friendly-errors-webpack-plugin": "^1.7.0",
2021
"graphql": "^0.13.2",

packages/graphpack/yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,6 +1212,11 @@ babel-loader@^8.0.4:
12121212
mkdirp "^0.5.1"
12131213
util.promisify "^1.0.0"
12141214

1215+
babel-preset-graphpack@^0.0.0:
1216+
version "0.0.0"
1217+
resolved "https://registry.yarnpkg.com/babel-preset-graphpack/-/babel-preset-graphpack-0.0.0.tgz#1bff2f144178a50d78693154922895fb043a7ec2"
1218+
integrity sha512-zeVGmZ40C2n5upy+TZ9TAJaxf3og2ICelxnF5yee0ZjoVb38pISu8+dv2S+Lnkaoi6NEgPn0FJb5vhxe1IIZsg==
1219+
12151220
backo2@^1.0.2:
12161221
version "1.0.2"
12171222
resolved "https://registry.yarnpkg.com/backo2/-/backo2-1.0.2.tgz#31ab1ac8b129363463e35b3ebb69f4dfcfba7947"

0 commit comments

Comments
 (0)