Skip to content

Commit

Permalink
remove externalized lib and update yarn.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzamontiel committed Feb 20, 2024
1 parent 42ab13d commit f26d620
Show file tree
Hide file tree
Showing 2 changed files with 271 additions and 203 deletions.
4 changes: 1 addition & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ import { polyfillNode } from 'esbuild-plugin-polyfill-node';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [preact()],
build: {
rollupOptions: { external: ['isomorphic-unfetch'] },
},
esbuild: {
logOverride: { 'this-is-undefined-in-esm': 'silent' },
},
optimizeDeps: {
exclude: [],
esbuildOptions: {
// Node.js global to browser globalThis
define: {
Expand Down
Loading

0 comments on commit f26d620

Please sign in to comment.