@@ -68,15 +68,18 @@ const watchFiles = () => {
6868 "static/**/*.js" ,
6969 "!static/**/bootstrap.css" ,
7070 "!static/**/bootstrap_responsive.css" ,
71- "!static/**/elegant.prod.css" ,
72- "!static/js/elegant.prod.js"
71+ "!static/**/elegant.prod.e4bd582858. css" ,
72+ "!static/js/elegant.prod.e4bd582858. js"
7373 ] ,
7474 { ignoreInitial : false } ,
7575 buildAll
7676 ) ;
7777} ;
7878
79- const pathProdCSS = path . join ( __dirname , "static/css/elegant.prod.css" ) ;
79+ const pathProdCSS = path . join (
80+ __dirname ,
81+ "static/css/elegant.prod.e4bd582858.css"
82+ ) ;
8083const rmProdCSS = cb => {
8184 if ( fs . existsSync ( pathProdCSS ) ) {
8285 fs . unlinkSync ( pathProdCSS ) ;
@@ -93,9 +96,9 @@ const minifyJS = () => {
9396 "static/clipboard/clipboard.js" ,
9497 "static/js/copy-to-clipboard.js" ,
9598 "static/js/lunr-search-result.js" ,
96- "!static/js/elegant.prod.js"
99+ "!static/js/elegant.prod.e4bd582858. js"
97100 ] )
98- . pipe ( concat ( "elegant.prod.js" ) )
101+ . pipe ( concat ( "elegant.prod.e4bd582858. js" ) )
99102 . pipe ( terser ( ) )
100103 . pipe ( dest ( "static/js/" ) ) ;
101104} ;
@@ -113,10 +116,10 @@ const compileCSS = () => {
113116 "static/photoswipe/photoswipe.css" ,
114117 "static/photoswipe/default-skin/default-skin.css" ,
115118 "static/css/*.css" ,
116- "!static/css/elegant.prod.css"
119+ "!static/css/elegant.prod.e4bd582858. css"
117120 ] )
118121 . pipe ( postcss ( plugins ) )
119- . pipe ( concat ( "elegant.prod.css" ) )
122+ . pipe ( concat ( "elegant.prod.e4bd582858. css" ) )
120123 . pipe ( dest ( "static/css/" ) ) ;
121124} ;
122125
0 commit comments