WEBPACK BABEL GRAPHQL NODEJS

时间:2019-04-03 21:44:04

标签: node.js webpack graphql babeljs babel

我正在构建graphql api,但是我无法使用webpack构建单个文件,知道吗?

依赖项

"dependencies": {
    "bcrypt": "^3.0.4",
    "graphql-yoga": "^1.17.4",
    "jsonwebtoken": "^8.5.0",
    "nanoid": "^2.0.1",
    "pg": "^7.8.2",
    "ramda": "^0.26.1",
    "typeorm": "^0.2.15-rc.2"
  },
  "devDependencies": {
    "@babel/cli": "^7.4.3",
    "@babel/core": "^7.3.4",
    "@babel/node": "^7.2.2",
    "@babel/plugin-proposal-class-properties": "^7.3.4",
    "@babel/plugin-proposal-decorators": "^7.3.0",
    "@babel/plugin-proposal-object-rest-spread": "^7.3.4",
    "@babel/preset-env": "^7.3.4",
    "babel-loader": "^8.0.5",
    "jest": "^24.4.0",
    "nodemon": "^1.18.10",
    "webpack": "^4.29.6",
    "webpack-cli": "^3.3.0"
  }

输出 https://pastebin.com/fGcLv90r

0 个答案:

没有答案