From a96c52b21e7e590bbdd70b80896780a446fa2e8b Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Mon, 13 Dec 2021 02:07:04 +0100 Subject: build: separate module for frontend This allows us to simplify the webpack configuration and the gradle build scripts. --- subprojects/frontend/src/global.d.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 subprojects/frontend/src/global.d.ts (limited to 'subprojects/frontend/src/global.d.ts') diff --git a/subprojects/frontend/src/global.d.ts b/subprojects/frontend/src/global.d.ts new file mode 100644 index 00000000..0533a46e --- /dev/null +++ b/subprojects/frontend/src/global.d.ts @@ -0,0 +1,11 @@ +declare const DEBUG: boolean; + +declare const PACKAGE_NAME: string; + +declare const PACKAGE_VERSION: string; + +declare module '*.module.scss' { + const cssVariables: { [key in string]?: string }; + // eslint-disable-next-line import/no-default-export + export default cssVariables; +} -- cgit v1.2.3-70-g09d2