Closed wowhyb closed 7 years ago
在npm run build 的过程中会报 Failed to minify the code from this file: node.js:32 的错误
这个库主要是给后端 Node.js 用的,所以打包到 lib 默认是 node@>=v4.0,前端用 dist 目录:
node@>=v4.0
import xlsx from 'better-xlsx/dist/xlsx'; // or import xlsx from 'better-xlsx/dist/xlsx.min';
thx
在npm run build 的过程中会报 Failed to minify the code from this file: node.js:32 的错误