Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederik Rothenberger committed Oct 25, 2023
1 parent 8641bed commit 795edcf
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,18 @@ export default defineConfig(({ mode }: UserConfig): UserConfig => {
[...(mode === "development" ? [injectCanisterIdPlugin()] : [])],
[...(mode === "production" ? [minifyHTML(), compression()] : [])],
basicSsl(),
replicaForwardPlugin("127.0.0.1:4943", [
{
host: "nice-name.com",
canisterId: testAppCanisterId(),
},
]),
[
...(mode === "e2e"
? [
replicaForwardPlugin("127.0.0.1:4943", [
{
host: "nice-name.com",
canisterId: testAppCanisterId(),
},
]),
]
: []),
],
],
optimizeDeps: {
esbuildOptions: {
Expand Down

0 comments on commit 795edcf

Please sign in to comment.