From 950b62ee131eea793536cd893ae26ca818480223 Mon Sep 17 00:00:00 2001 From: Aliullov Vlad Date: Thu, 31 Aug 2023 00:08:10 +0400 Subject: [PATCH] add ESM building to package --- packages/devextreme-react/gulpfile.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/devextreme-react/gulpfile.js b/packages/devextreme-react/gulpfile.js index e3cb1125aec4..e97d88ae5bb1 100644 --- a/packages/devextreme-react/gulpfile.js +++ b/packages/devextreme-react/gulpfile.js @@ -96,8 +96,6 @@ gulp.task(NPM_PACKAGE_MODULES, (done) => { const moduleName = modulePath.match(/[^/]+$/)[0]; try { - // moveDeclarations(); - fs.mkdirSync(path.join(distFolder, moduleName)); fs.writeFileSync(path.join(distFolder , moduleName, 'package.json'), JSON.stringify({ @@ -139,7 +137,8 @@ gulp.task(NPM_MOVE_DECLARATIONS, (done) => { throw(err); } }); - }) + }); + done(); });