Rakefile: Add jQuery to uglify targets

Regression of 0b8b5230f
This commit is contained in:
iBug 2024-05-05 15:27:23 +08:00
parent 256e626503
commit 25ce47de8c

View File

@ -153,7 +153,7 @@ task :copyright => COPYRIGHT_FILES
CLEAN.include(*COPYRIGHT_FILES)
JS_FILES = Dir.glob("assets/js/plugins/*.js") + ["assets/js/_main.js"]
JS_FILES = ["assets/js/vendor/jquery/jquery-3.6.0.js"] + Dir.glob("assets/js/plugins/*.js") + ["assets/js/_main.js"]
JS_TARGET = "assets/js/main.min.js"
task :js => JS_TARGET
file JS_TARGET => ["_includes/copyright.js"] + JS_FILES do |t|