Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix dynamic controller imports

Alexander Brandon Coles8c780ca1604e
diff --git a/frontend/src/stimulus/controllers/op-application.controller.ts b/frontend/src/stimulus/controllers/op-application.controller.ts
index c50e647292a..c1372893193 100644
--- a/frontend/src/stimulus/controllers/op-application.controller.ts
+++ b/frontend/src/stimulus/controllers/op-application.controller.ts
@@ -63,7 +63,7 @@ export class OpApplicationController extends ApplicationController {
// Default: Try to load the controller from dynamic/ subfolder.
const path = this.derivePath(controller);
- return await import(/* webpackChunkName: "[request]" */ `./dynamic/${path}.controller`) as Promise<{
+ return await import(`./dynamic/${path}.controller.ts`) as Promise<{
default:ControllerConstructor
}>;
}