dt-sql-parser icon indicating copy to clipboard operation
dt-sql-parser copied to clipboard

[Bug]: webpack mode=production模式下,文件访问报错

Open MyMaNong opened this issue 1 year ago • 1 comments

Version

4.0.0-beta.4.15

Which SQL?

MySQL

SQL content

No response

JavaScript/TypeScript code

No response

What happened?

mysql.worker.js build后访问报错:Cannot read properties of null (reading "0"). 报错位置:readInt方法 this.data为null

Relevant log output

No response

MyMaNong avatar Apr 22 '24 10:04 MyMaNong

我们内部基于 webpack5 的打包工具是这样解决的,可以参考下:https://github.com/DTStack/ko/issues/163

liuxy0551 avatar Apr 22 '24 10:04 liuxy0551