Skip to content

Commit

Permalink
add ESM building to package
Browse files Browse the repository at this point in the history
  • Loading branch information
GoodDayForSurf committed Aug 30, 2023
1 parent 1cefebb commit 950b62e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/devextreme-react/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down Expand Up @@ -139,7 +137,8 @@ gulp.task(NPM_MOVE_DECLARATIONS, (done) => {
throw(err);
}
});
})
});

done();
});

Expand Down

0 comments on commit 950b62e

Please sign in to comment.