1***@qq.com
1***@qq.com
  • 发布:2018-09-17 02:05
  • 更新:2018-09-17 12:34
  • 阅读:2478

uni-app云打包时,编译报错

分类:uni-app

[HBuilder] 01:45:55.160 (node:9524) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/loader-utils/issues/56

[HBuilder] 01:45:55.161 parseQuery() will be replaced with getOptions() in the next major version of loader-utils.

真机运行时,编译不会报错,但到云打包,编译时报错,找了半天发现是

require('../../common/colour/blue.less')

引用了 less文件,只要不引用就不会报错,有什么办法解决

2018-09-17 02:05 负责人:无 分享
已邀请:
Trust

Trust - 少说废话

上传个demo,方便这边测试下。

t***@qq.com

t***@qq.com

应用第三方模块也会报错的,,,,官方那个教程中的模块引入都会报错。。。

DCloud_UNI_GSQ

DCloud_UNI_GSQ

样式文件请在style内使用@import引入

该问题目前已经被锁定, 无法添加新回复