build(docker): use esbuild for JS compiling

This commit is contained in:
Oliver Davies 2021-12-28 16:04:07 +00:00
parent 29014d1c56
commit 3651d69ce1
5 changed files with 135 additions and 2 deletions

View file

@ -15,3 +15,8 @@ services:
<<: *default-assets
command: 'yarn build:css'
working_dir: /app/web/themes/custom/opdavies
js:
<<: *default-assets
command: 'yarn build:js'
working_dir: /app/web/themes/custom/opdavies