Skip to content

Commit

Permalink
Updated vite config
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTV12345 committed Feb 20, 2024
1 parent fbec90a commit 1ae72c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 19 deletions.
17 changes: 2 additions & 15 deletions docs/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions docs/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/// the License.
///

import path from 'node:path';
import {resolve} from 'node:path';
import { defineConfig, normalizePath } from "vite";
import { viteStaticCopy } from 'vite-plugin-static-copy'

Expand All @@ -22,15 +22,15 @@ export default defineConfig({
viteStaticCopy({
targets: [
{
src: normalizePath(path.resolve(__dirname, '../zipkin-api.yaml')),
src: normalizePath(resolve(__dirname, '../zipkin-api.yaml')),
dest: '',
},
{
src: normalizePath(path.resolve(__dirname, '../zipkin.proto')),
src: normalizePath(resolve(__dirname, '../zipkin.proto')),
dest: '',
},
{
src: normalizePath(path.resolve(__dirname, '../zipkin2-api.yaml')),
src: normalizePath(resolve(__dirname, '../zipkin2-api.yaml')),
dest: '',
},
],
Expand Down

0 comments on commit 1ae72c4

Please sign in to comment.