我的
gatsby js
的
gatsby build
在我的本地机器上工作。但它无法打开
Travis CI
通过声明建立过程:
WebpackError: process is not defined
有人能帮我吗?
完整的在线日志如下:
https://travis-ci.com/Jeff-Tian/ass
graphql
问题,我该怎么办?
更新:我的
gatsby-node.js
文件如下:
/**
* Implement Gatsby's Node APIs in this file.
*
* See: https://www.gatsbyjs.org/docs/node-apis/
*/
// You can delete this file if you're not using it
exports.modifyBabelrc = ({ babelrc }) => ({
...babelrc,
plugins: babelrc.plugins.concat(['transform-regenerator']),
})