Miniprogram CI 版本1.8.35
小程序项目中有sass文件,用开发工具开发上传均没问题,而使用ci工具脚本调用时,报错如下:
/tmp/node_modules/sass/sass.dart.js:5272
throw error;
^
[Error: The file (/data/jenkins/workspace/ci-mercury-whisper-pome-yennefer/assets/styles/_tools.scss) required by assets/styles/_tools.scss is outside the project
File: assets/styles/_tools.wxss] {
dartException: <ref *1> [SummerError: The file (/data/jenkins/workspace/ci-mercury-whisper-pome-yennefer/assets/styles/_tools.scss) required by assets/styles/_tools.scss is outside the project] {
code: 10046,
path: 'assets/styles/_tools.wxss',
'$cachedTrace': _StackTrace { _exception: [Circular *1], _trace: '' }
}
}
贴一下看看是怎么使用 miniprogram-ci 的?
miniprogram-ci preview --pp . --enable-es6 true --enable-es7 true --enable-minify-js true --enable-minify-wxml true --enable-minify-wxss true --enable-autoprefixwxss true