mirror of
https://gitee.com/openharmony/third_party_weex-loader
synced 2024-11-27 01:20:23 +00:00
parent
7e140945f8
commit
50f0611778
2
deps/weex-styler/index.js
vendored
2
deps/weex-styler/index.js
vendored
@ -587,6 +587,8 @@ function addPreviewCSS(importPath, resourcePath) {
|
||||
content[importPath].push(...content[resourcePath]);
|
||||
content[importPath] = lodash.uniqWith(content[importPath], lodash.isEqual);
|
||||
}
|
||||
content["atime"] = content["atime"] || {};
|
||||
content["atime"][importPath] = fs.statSync(importPath).atime.toString();
|
||||
fs.writeFileSync(process.env.watchCSSFiles, JSON.stringify(content, null, 2));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user