enso/app/ide-desktop/lib/content/bundle.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
450 B
TypeScript
Raw Normal View History

/** @file Entry point for the bundler. */
import * as esbuild from 'esbuild'
import * as bundler from './esbuild-config'
// =======================
// === Generate bundle ===
// =======================
try {
void esbuild.build(
bundler.bundleOptions({
devMode: false,
supportsLocalBackend: true,
supportsDeepLinks: true,
})
)
} catch (error) {
console.error(error)
throw error
}