Skip to content

Commit

Permalink
was missing staticAppPaths
Browse files Browse the repository at this point in the history
  • Loading branch information
ef4 committed Sep 11, 2024
1 parent 36a6c1d commit 4b13840
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/compat/src/compat-app-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export class CompatAppBuilder {
modulePrefix: this.modulePrefix(),
podModulePrefix: this.podModulePrefix(),
splitAtRoutes: this.options.splitAtRoutes,
staticAppPaths: this.options.staticAppPaths,
extraDeps: new Map([[this.appPackageWithMovedDeps.root, [this.synthVendor, this.synthStyles] as AddonPackage[]]]),
extend: (options: CompatResolverOptions, allActiveAddons) => {
options.activePackageRules = activePackageRules(this.options.packageRules.concat(defaultAddonPackageRules()), [
Expand Down
3 changes: 2 additions & 1 deletion packages/core/src/module-resolver-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export function buildResolverOptions<T extends Options>(inputs: {
modulePrefix?: string;
podModulePrefix?: string;
splitAtRoutes?: (RegExp | string)[];
staticAppPaths?: string[];
extend?: (opts: T, allActiveAddons: AddonPackage[]) => T;
}): T {
let appPackage: Package;
Expand Down Expand Up @@ -65,7 +66,7 @@ export function buildResolverOptions<T extends Options>(inputs: {
es: [],
},
modulePrefix,
staticAppPaths: [],
staticAppPaths: inputs.staticAppPaths ?? [],
emberVersion: appPackage.dependencies.find(d => d.name === 'ember-source')!.version,
splitAtRoutes: inputs.splitAtRoutes,
podModulePrefix: inputs.podModulePrefix,
Expand Down

0 comments on commit 4b13840

Please sign in to comment.