packOptions ignore 开发工具上编译的时候显示找不到,要怎么配置?

发布于 7 年前作者 fpeng6622 次浏览最后编辑 7 年前来自 ask

ec-canvas.js太大,想要让它不参与打包,配置了packOptions 的ignore后在开发工具上编译,结果提示找不到ec-canvas。

module “components/ec-canvas/ec-canvas.js” is not defined

Error: module “components/ec-canvas/ec-canvas.js” is not defined

我是想开发时不用压缩的,上线的时候在替换成压缩的

0 回复
暂无回复