Skip to content

Commit

Permalink
Replace react-18-image-lightbox with react-photoswipe-gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
acelaya committed Oct 17, 2023
1 parent e42800d commit 5168a75
Show file tree
Hide file tree
Showing 7 changed files with 110 additions and 1,252 deletions.
14 changes: 0 additions & 14 deletions astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,10 @@ import react from '@astrojs/react';
import mdx from '@astrojs/mdx';
import sitemap from '@astrojs/sitemap';
import { config } from './config/config';
import { nodePolyfills } from 'vite-plugin-node-polyfills'

// https://astro.build/config
export default defineConfig({
site: config.SITE_URL,
outDir: './build',
integrations: [sitemap(), react(), mdx()],

vite: {
plugins: [
nodePolyfills({
include: [],
globals: {
// react-18-image-lightbox is no longer maintain and depends on the `global` object
// Enable temporarily until we can migrate to something else
global: true,
}
}),
],
},
});
Loading

0 comments on commit 5168a75

Please sign in to comment.