Skip to content

Commit

Permalink
feat: boost local dev for windows users
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinderoubaix committed Dec 7, 2023
1 parent c935a7d commit b5a74d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions demo/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,23 @@ import {copySamples} from './scripts/copySamples.plugin';
import {docExtractor} from './scripts/doc.plugin';
import {includeSamples} from './scripts/includeSamples.plugin';
import {emitFile} from './scripts/emitFile.plugin';
import http from 'http';

const proxy: Record<string, string | ProxyOptions> = {
'/angular/samples': {
target: 'http://localhost:4200',
ws: true,
agent: new http.Agent({keepAlive: true}),
},
'/react/samples': {
target: 'http://localhost:3000',
ws: true,
agent: new http.Agent({keepAlive: true}),
},
'/svelte/samples': {
target: 'http://localhost:3001',
ws: true,
agent: new http.Agent({keepAlive: true}),
},
};

Expand Down

0 comments on commit b5a74d7

Please sign in to comment.