mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-05 06:09:20 +00:00
Rename webpack prod compile to minify_es and run as part of minify step
Fixes issue where webpack prod files were wiped after running minify on CI
This commit is contained in:
parent
7e990dc67e
commit
4d79c68f41
1 changed files with 5 additions and 4 deletions
|
@ -96,14 +96,16 @@ $(CSS_FILES): $(LESS_FILES)
|
|||
|
||||
minify: $(CSS_FILES) $(JS_FILES)
|
||||
$(GRUNT) compile:minify
|
||||
$(MAKE) minify_es
|
||||
|
||||
minify_es:
|
||||
npm -q run webpack:production
|
||||
|
||||
css: $(CSS_FILES)
|
||||
|
||||
compile: $(JS_FILES) css public/js/libs/sharejs.js public/js/main.js public/js/ide.js
|
||||
@$(MAKE) compile_modules
|
||||
|
||||
compile_es:
|
||||
npm -q run webpack:production
|
||||
|
||||
compile_full:
|
||||
$(COFFEE) -c -p app.coffee > app.js
|
||||
$(COFFEE) -o app/js -c app/coffee
|
||||
|
@ -116,7 +118,6 @@ compile_full:
|
|||
$(MAKE) $(CSS_FILES)
|
||||
$(MAKE) compile_modules_full
|
||||
$(MAKE) compile # ide.js, main.js, share.js, and anything missed
|
||||
$(MAKE) compile_es
|
||||
|
||||
compile_modules: $(MODULE_MAKEFILES)
|
||||
@set -e; \
|
||||
|
|
Loading…
Reference in a new issue