File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ COPY demo/lib lib/
63
63
64
64
COPY assets ../assets/
65
65
COPY package.json ../
66
+ COPY priv/static/js ../priv/static/js/
66
67
67
68
RUN mix assets.deploy
68
69
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import * as Sentry from '@sentry/browser'
3
3
import topbar from 'topbar'
4
4
import { Socket } from 'phoenix'
5
5
import { LiveSocket } from 'phoenix_live_view'
6
- import { Hooks as BackpexHooks } from 'backpex'
6
+ import { Hooks as BackpexHooks } from '../../../priv/static/js/ backpex.esm.js '
7
7
8
8
/**
9
9
* Sentry
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ config :esbuild,
46
46
version: "0.25.8" ,
47
47
default: [
48
48
args:
49
- ~w( assets/js/app.js --bundle --target=es2017 --outdir=priv/static/assets --external:/fonts/* --external:/images/* --alias:backpex=/opt/app ) ,
49
+ ~w( assets/js/app.js --bundle --target=es2017 --outdir=priv/static/assets --external:/fonts/* --external:/images/*) ,
50
50
cd: Path . expand ( ".." , __DIR__ ) ,
51
51
env: % { "NODE_PATH" => Path . expand ( "../deps" , __DIR__ ) }
52
52
]
You can’t perform that action at this time.
0 commit comments