Skip to content

Commit

Permalink
Fix vite config
Browse files Browse the repository at this point in the history
  • Loading branch information
vesnushka committed Aug 15, 2023
1 parent 82ecbcf commit 6dc6925
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ export const getBaseConfig = ({ plugins = [], build = {}, test = {} }) =>
}),
...plugins,
],
define: {
global: {},
},
define: command === 'build' ? {} : { global: {} },
build: {
commonjsOptions: {
defaultIsModuleExports(id) {
Expand Down

0 comments on commit 6dc6925

Please sign in to comment.