Merge pull request #19 from element-hq/t3chguy/tar-fs
This commit is contained in:
@@ -18,10 +18,10 @@
|
|||||||
"@nordeck/element-web-widget-lifecycle-module": "^1.0.1",
|
"@nordeck/element-web-widget-lifecycle-module": "^1.0.1",
|
||||||
"@nordeck/element-web-widget-toggles-module": "^0.1.0",
|
"@nordeck/element-web-widget-toggles-module": "^0.1.0",
|
||||||
"@types/node": "^22.10.7",
|
"@types/node": "^22.10.7",
|
||||||
"@types/react": "^18",
|
"@types/react": "^19",
|
||||||
"@vitejs/plugin-react": "^4.3.4",
|
"@vitejs/plugin-react": "^4.3.4",
|
||||||
"react": "^18.0.0",
|
"react": "^19",
|
||||||
"react-dom": "^18.0.0",
|
"react-dom": "^19",
|
||||||
"rollup-plugin-external-globals": "^0.13.0",
|
"rollup-plugin-external-globals": "^0.13.0",
|
||||||
"typescript": "^5.7.3",
|
"typescript": "^5.7.3",
|
||||||
"vite": "^6.0.11",
|
"vite": "^6.0.11",
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ declare global {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class OpendeskModule implements Module {
|
class OpendeskModule implements Module {
|
||||||
public static readonly moduleApiVersion = "^0.1.0";
|
public static readonly moduleApiVersion = "^0.1.1";
|
||||||
|
|
||||||
public constructor(private api: Api) {}
|
public constructor(private api: Api) {}
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|||||||
Please see LICENSE files in the repository root for full details.
|
Please see LICENSE files in the repository root for full details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { type SynapseContainer } from "@element-hq/element-web-playwright-common/lib/testcontainers";
|
import { type SynapseContainer } from "@element-hq/element-web-playwright-common/lib/testcontainers/index.js";
|
||||||
|
|
||||||
import { test, expect } from "../../../../playwright/element-web-test.ts";
|
import { test, expect } from "../../../../playwright/element-web-test.ts";
|
||||||
|
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ export default defineConfig({
|
|||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
external: ["react"],
|
external: ["react"],
|
||||||
},
|
},
|
||||||
|
minify: false,
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
react(),
|
react(),
|
||||||
@@ -40,6 +41,8 @@ export default defineConfig({
|
|||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
define: {
|
define: {
|
||||||
process: { env: {} },
|
// Use production mode for the build as it is tested against production builds of Element Web,
|
||||||
|
// this is required for React JSX versions to be compatible.
|
||||||
|
process: { env: { NODE_ENV: "production" } },
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user