尝试使用“ pkg”构建下一个js

时间:2019-05-25 18:55:34

标签: zeit-pkg

pkg app.js -t node10-linux-x64 --output boxit

./boxit

使用next.config.js中定义的“ webpackDevMiddleware”配置函数。 使用外部babel配置 位置:“ / home / shintaro / Desktop / projects / github / frontend / app / .babelrc”

无法编译。

/snapshot/frontend/node_modules/next/dist/client/event-source-polyfill.js 找不到模块:无法解析“ / snapshot / frontend / node_modules / next / dist / client”中的“ @ babel / runtime-corejs2 / core-js / json / stringify”

0 个答案:

没有答案