Skip to content

Commit

Permalink
fixup! Refactor(demo): Use server settings directly from the common p…
Browse files Browse the repository at this point in the history
…ackage
  • Loading branch information
literat committed Nov 4, 2024
1 parent 374fcba commit 6f3afa2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/demo/config/vite/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import handlebars from 'vite-plugin-handlebars';
// Vite config cannot import untranspiled ES modules
// so `import { SERVERS } from '@lmc-eu/spirit-commmon';` will not work
// to make it work the package must be transpiled into CommonJS
// as a workaround, we can import the file directly
// @see: https://github.com/vitejs/vite/issues/5370
import { SERVERS } from '../../../../packages/common/constants/servers';
import { getNestedDirs, mapKeys } from '../../scripts/prepareDist';
Expand Down

0 comments on commit 6f3afa2

Please sign in to comment.