vite-plugin-externals icon indicating copy to clipboard operation
vite-plugin-externals copied to clipboard

process没有定义

Open thegenius opened this issue 2 years ago • 1 comments

尝试使用的时候,会出现process没有定义 if (process.env.NODE_ENV === 'production') { // DCE check should happen before ReactDOM bundle executes so that // DevTools can report bad minification during injection. checkDCE(); module.exports = require('./cjs/react-dom.production.min.js'); } else { module.exports = require('./cjs/react-dom.development.js'); }

thegenius avatar Sep 06 '22 12:09 thegenius

你好,可以提供一个最小复现仓库吗?谢谢

crcong avatar Sep 06 '22 13:09 crcong