Skip to content

Commit

Permalink
Merge pull request #146 from art-by-city/fix-static-build-node-polyfills
Browse files Browse the repository at this point in the history
Fixes build by adding vite-plugin-node-polyfills
  • Loading branch information
jim-toth authored Aug 12, 2024
2 parents 1e61388 + 273f013 commit 24ad973
Show file tree
Hide file tree
Showing 3 changed files with 3,149 additions and 3,614 deletions.
3 changes: 3 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { nodePolyfills } from 'vite-plugin-node-polyfills'

// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: false },
Expand Down Expand Up @@ -46,6 +48,7 @@ export default defineNuxtConfig({
define: {
'process.env.DEBUG': false,
},
plugins: [ nodePolyfills() ]
},

/**
Expand Down
Loading

0 comments on commit 24ad973

Please sign in to comment.