Skip to content

Commit

Permalink
fix: Build options
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthv96 committed Oct 9, 2024
1 parent 2b86750 commit 2933eb5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .esbuild/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@ import { generateLangium } from '../.build/generateLangium.js';
import { defaultOptions, getBuildConfig } from './util.js';

const configs = Object.values(packageOptions).map(({ packageName }) =>
getBuildConfig({ ...defaultOptions, minify: false, core: false, entryName: packageName })
getBuildConfig({
...defaultOptions,
minify: false,
core: false,
options: packageOptions[packageName],
})
);
const mermaidIIFEConfig = getBuildConfig({
...defaultOptions,
minify: false,
core: false,
entryName: 'mermaid',
options: packageOptions.mermaid,
format: 'iife',
});
configs.push(mermaidIIFEConfig);
Expand Down

0 comments on commit 2933eb5

Please sign in to comment.