From 8c7bce4244afdefe96f837df133a7ece857e735c Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Sun, 12 Jun 2022 22:16:11 +0300 Subject: [PATCH] jsconfig --- client/src/views/main.js | 4 +++- jsconfig.json | 10 ++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 jsconfig.json diff --git a/client/src/views/main.js b/client/src/views/main.js index ca9b3dea63..91a10c3cc8 100644 --- a/client/src/views/main.js +++ b/client/src/views/main.js @@ -26,7 +26,9 @@ * these Appropriate Legal Notices must retain the display of the "EspoCRM" word. ************************************************************************/ -define('views/main', ['view'], function (Dep) { +define('views/main', ['view', 'helpers/test'], function (Dep, Test) { + + Test. return Dep.extend({ diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000000..c2ba18ca74 --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": "client", + "paths": { + "*": ["src/*"], + "crm:*": ["modules/crm/src/*"] + }, + "module": "AMD" + } +}