webpack 打包 node 服務端代碼 __dirname 失效問題

具體情況配置參考 官網 https://webpack.js.org/configuration/node/#node-__dirname   webpack.config.server.js const serverConfig = { output: { filename: 'index.js', path: Path.join(__dirname, '../public/
相關文章
相關標籤/搜索