Skip to content

Commit

Permalink
fix: attempt to fix tagify import in builds
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronm-2112 committed Dec 1, 2023
1 parent 35c9f99 commit 564edd5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion electron.vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { defineConfig, externalizeDepsPlugin } from 'electron-vite'
import react from '@vitejs/plugin-react'
import copy from 'rollup-plugin-copy'
import inject from "@rollup/plugin-inject";
import commonjs from '@rollup/plugin-commonjs';

const commonjsPackages = ['image-data-uri']

Expand All @@ -25,7 +26,7 @@ export default defineConfig({
plugins: [react(), inject({
$: 'jquery',
jQuery: 'jquery'
})],
}), commonjs()],
optimizeDeps: {
exclude: ['bootbox', 'Jimp/es']
},
Expand Down

0 comments on commit 564edd5

Please sign in to comment.