Skip to content

Commit

Permalink
add viteconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Jan 18, 2024
1 parent aa4adaf commit 2807c6b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ tmp
!test-resources/js_api.mjs
.portal
playground/public/public/src/squint
!playground/viteconfig.mjs
23 changes: 23 additions & 0 deletions playground/viteconfig.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// vite.config.js
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import analyze from "rollup-plugin-analyzer";
// import { viteStaticCopy } from 'vite-plugin-static-copy';

export default defineConfig({
build: {target: "esnext",
rollupOptions: {
plugins: [analyze()]
}},
plugins: [react()
// , viteStaticCopy({
// targets: [
// {
// src: 'node_modules/squint-cljs',
// dest: 'squint-cljs'
// }
// ]
// })
]
});
//

0 comments on commit 2807c6b

Please sign in to comment.