Skip to content

Commit

Permalink
fix dev mode issue
Browse files Browse the repository at this point in the history
  • Loading branch information
warm-coolguy committed Feb 27, 2025
1 parent f620323 commit aeb4b74
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions packages/clients/diplan/example/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!DOCTYPE html>
<html>
<!-- forward to dev environment -->
<head>
<meta http-equiv="refresh" content="0; url=/dev/index.html" />
</head>
</html>
6 changes: 3 additions & 3 deletions packages/clients/diplan/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { getClientConfig } from '../../../viteConfigs'

export default getClientConfig({
root: 'example/dev',
root: 'example',
build: {
outDir: '../../dist',
outDir: '../dist',
lib: {
name: 'PolarClientDiPlan',
entry: '../../src/polar-client.ts',
entry: '../src/polar-client.ts',
fileName: () => 'polar-client.js',
},
rollupOptions: {
Expand Down

0 comments on commit aeb4b74

Please sign in to comment.