cc3.6 同个npm引入了外部的js库,包体比较大 然后打包web-mobile的时候报错 [Build] [build-script][BABEL] Note: The code generator has deoptimised the styling of /xxx/node_modules/@tensorflow/tfjs-converter/dist/tf-converter.node.js as it exceeds the max of 500KB
查了了一通也没找到哪里能去掉这个现在 网上说的都是这种错误改.babelrc, 但是cocoscreator不知道在哪里改这种东西, 或者说cocos能去掉这种限制吗
我试的结果是用npm引入 在脚本中import的方式使用 脚本中有编译错误但能正常运行 但是打包会报500k错且打包失败, 第二种是用插件脚本的方式引入 脚本中使用也是会有编译错误但不影响使用,然后也能打包成功。
