Skip to content

Commit d5fa32b

Browse files
committed
Stop building js routes on every webpack build
1 parent 0126b8f commit d5fa32b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,16 @@ vendors:
6666
bin/tools composer install -n -v --profile --apcu-autoloader --prefer-dist --ignore-platform-reqs
6767
bin/node-tools yarn install --pure-lockfile
6868

69-
webpack-build-dev:
69+
build-js-routes:
7070
bin/tools bin/console fos:js-routing:dump --format=json --target=assets/js/fos_js_routes.json
71+
72+
webpack-build-dev:
7173
bin/node-tools yarn encore dev
7274

7375
webpack-watch-dev:
7476
bin/node-tools yarn encore dev --watch
7577

7678
webpack-build-prod:
77-
bin/tools bin/console fos:js-routing:dump --format=json --target=assets/js/fos_js_routes.json
7879
bin/node-tools yarn encore production
7980

8081
init-db: start-db

0 commit comments

Comments
 (0)