mirror of
https://gitee.com/openharmony/third_party_weex-loader
synced 2024-11-23 07:20:51 +00:00
commit
aed118ea6f
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