Skip to content

Interface SharedPackage

Source: sharedPackages.ts

Properties

specifier

specifier: string

Package specifier (e.g. "react", "@prozilla-os/core").


chunkName?

optional chunkName?: string

When set, the package is treated as a manual chunk with this name. When omitted, the package's pre-built entry file is emitted as a static asset for the import map. Chunk-name packages are bundled naturally by Rollup in the site build; asset packages are served directly from disk to dynamically-loaded apps.


isCommonJS?

optional isCommonJS?: boolean

When true, a CJS-to-ESM shim is generated for the package's chunk.

Built by Prozilla