mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-08-04 05:33:10 +00:00
styles-moved-to-css-dir
This commit is contained in:
parent
2fb043712b
commit
4f2f2ae1e9
4 changed files with 6 additions and 422 deletions
|
|
@ -104,8 +104,9 @@ exports.cssStyles=function cssStyles(pImgConvertToBase64_b){
|
|||
}
|
||||
|
||||
/* Константы */
|
||||
var STYLE_CSS='style.css';
|
||||
var RESET_CSS='reset.css';
|
||||
var CSSDIR = 'css/';
|
||||
var STYLE_CSS = CSSDIR+'style.css';
|
||||
var RESET_CSS = CSSDIR+'reset.css';
|
||||
|
||||
var lAllStyle='';
|
||||
var lResetCssDone=false;
|
||||
|
|
@ -138,7 +139,7 @@ exports.cssStyles=function cssStyles(pImgConvertToBase64_b){
|
|||
if(pImgConvertToBase64_b)
|
||||
base64_images(lAllStyle);
|
||||
else
|
||||
fs.writeFile('all.min.css', lAllStyle, fileWrited('all.min.css'));
|
||||
fs.writeFile(CSSDIR+'all.min.css', lAllStyle, fileWrited('all.min.css'));
|
||||
|
||||
/* записываем сжатый css файл*/
|
||||
else fs.writeFile(minFileName, final_code, fileWrited(minFileName));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue