程序连接ws服务器,除了没用sockjs,其他与示例基本相同: var socket = new WebSocket(hostWsAddr); ... 在app模式下一切正常,包括连接stomp。但在H5下就会报错: Uncaught (in promise) RangeError: Maximum call stack size exceeded at new t (index.umd.min.js:1) at p (index.umd.min.js:1) at index...
vite 配置 build: { minify: 'esbuild', target: 'es6', commonjsOptions: { include: [/echarts.min.js/, /node_modules/], }, terserOptions: { compress: { drop_console: process.env.VUE_APP_ENV === 'production', drop_debugger: true, }, }, }, 想请教为什么打包之后会出错呀...