|
@@ -41,3 +41,9 @@ for (const nm of JsFiles.needMin) {
|
|
|
const needMinFileName = __dirname + '/app/public/js/web/global.' + version + '.min.js';
|
|
|
fs.writeFileSync(needMinFileName, Uglyfy.minify(needMinCode, { mangle: true }).code);
|
|
|
|
|
|
+const needVersionCss = ['/public/css/main'];
|
|
|
+for (const nvc of needVersionCss) {
|
|
|
+ fs.copyFileSync(nvc + '.css', nvc + '.' + version + '.css');
|
|
|
+}
|
|
|
+
|
|
|
+
|