Skip to content

Commit

Permalink
adding vite.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
stevector committed Oct 7, 2024
1 parent e2d3f13 commit d0959e4
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { defineConfig } from 'vite';

// https://vitejs.dev/config/
export default defineConfig({
test: {
server: {
deps: {
// Without this line, the build will fail with a message like:
// Unknown file extension ".css" for /Users/xxxxxxxxxxx/Sites/documentation/node_modules/@pantheon-systems/pds-toolkit-react/_dist/index.css
//similar to:
// https://github.com/vitest-dev/vitest/issues/5283
inline: [/@pantheon-systems\/.*/,],
},
},
},
});

0 comments on commit d0959e4

Please sign in to comment.