From b7671dedee0d76cbfb8d15594e69a58abfae70d4 Mon Sep 17 00:00:00 2001 From: Jens Pelzetter Date: Mon, 25 Apr 2022 18:52:16 +0200 Subject: [PATCH] Fixed ccm-cms JS module (hopefully) --- ccm-cms/package.json | 3 ++- ccm-cms/src/main/typescript/content-sections/cms-admin.ts | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ccm-cms/package.json b/ccm-cms/package.json index adb2e4913..460711c76 100644 --- a/ccm-cms/package.json +++ b/ccm-cms/package.json @@ -2,7 +2,8 @@ "name": "@librecms/ccm-cms", "version": "7.0.0", "description": "JavaScript stuff for ccm-cms", - "main": "index.js", + "main": "target/generated-resources/assets/@content-sections/ccm-admin.js", + "types": "target/generated-resources/assets/@content-sections/ccm-admin.d.ts", "scripts": { "build": "npm-run-all build:*", "build:js": "webpack", diff --git a/ccm-cms/src/main/typescript/content-sections/cms-admin.ts b/ccm-cms/src/main/typescript/content-sections/cms-admin.ts index 194468307..18e5d355b 100644 --- a/ccm-cms/src/main/typescript/content-sections/cms-admin.ts +++ b/ccm-cms/src/main/typescript/content-sections/cms-admin.ts @@ -6,6 +6,8 @@ import "./cms-attachment-lists"; import "./cms-contentitempicker"; +import "./cms-editor"; + import "./cms-media-lists"; import "./cms-related-link"; \ No newline at end of file