dt-sql-parser
                                
                                 dt-sql-parser copied to clipboard
                                
                                    dt-sql-parser copied to clipboard
                            
                            
                            
                        [Bug]: webpack mode=production模式下,文件访问报错
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
我们内部基于 webpack5 的打包工具是这样解决的,可以参考下:https://github.com/DTStack/ko/issues/163