Generating i18n files before build
This commit is contained in:
parent
d1a88dd375
commit
d18e9162b9
@ -12,7 +12,7 @@ RUN cp -r ../messages/ts-proto-generated/protos/* src/Messages/ts-proto-generate
|
|||||||
RUN sed -i 's/import { Observable } from "rxjs";/import type { Observable } from "rxjs";/g' src/Messages/ts-proto-generated/messages.ts
|
RUN sed -i 's/import { Observable } from "rxjs";/import type { Observable } from "rxjs";/g' src/Messages/ts-proto-generated/messages.ts
|
||||||
RUN cp -r ../messages/JsonMessages/* src/Messages/JsonMessages
|
RUN cp -r ../messages/JsonMessages/* src/Messages/JsonMessages
|
||||||
|
|
||||||
RUN yarn install && yarn build
|
RUN yarn install && yarn run typesafe-i18n && yarn build
|
||||||
|
|
||||||
# Removing the iframe.html file from the final image as this adds a XSS attack.
|
# Removing the iframe.html file from the final image as this adds a XSS attack.
|
||||||
# iframe.html is only in dev mode to circumvent a limitation
|
# iframe.html is only in dev mode to circumvent a limitation
|
||||||
|
Loading…
Reference in New Issue
Block a user