要设置 target 属性,只需要在你的webpack 配置中设置target 的值。 webpack.config.js module.exports = { target: 'node' } ...
確定! 回上一頁