File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,12 +17,6 @@ FROM nginx:1.25-alpine
1717# Copy built assets
1818COPY --from=builder /app/dist/browser /usr/share/nginx/html
1919
20- # Copy wasm manually (Angular asset config doesn't work reliably)
21- COPY --from=builder /app/node_modules/@openworkers/croner-wasm/dist/*.wasm /usr/share/nginx/html/assets/wasm/
22-
23- # Add wasm MIME type
24- RUN echo 'types { application/wasm wasm; }' >> /etc/nginx/mime.types
25-
2620# SPA routing config
2721RUN cat <<'EOF' > /etc/nginx/conf.d/default.conf
2822server {
Original file line number Diff line number Diff line change 107107 "glob" : " **/*" ,
108108 "input" : " ./node_modules/monaco-editor/min-maps" ,
109109 "output" : " assets/monaco-editor/min-maps"
110+ },
111+ {
112+ "glob" : " *.wasm" ,
113+ "input" : " node_modules/@openworkers/croner-wasm/dist" ,
114+ "output" : " assets/wasm"
110115 }
111116 ]
112117 },
Original file line number Diff line number Diff line change 11{
22 "name" : " app" ,
3- "version" : " 1.1.0 " ,
3+ "version" : " 1.1.1 " ,
44 "scripts" : {
55 "ng" : " ng" ,
66 "dev" : " ng serve --host 127.0.0.1" ,
You can’t perform that action at this time.
0 commit comments