提交 3d0a938f 编写于 作者: D DCloud_LXH

chore: test

上级 10b20510
......@@ -4,7 +4,7 @@ import { parseJson } from './json'
import { once, normalizeStyles } from '@dcloudio/uni-shared'
export const parseThemeJson = (themeLocation: string = 'theme.json') => {
if (!themeLocation) {
if (!themeLocation || !process.env.UNI_INPUT_DIR) {
return {}
}
themeLocation = path.join(process.env.UNI_INPUT_DIR, themeLocation)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册