Skip to content

Commit

Permalink
FIX: dynamic import of release-it.
Browse files Browse the repository at this point in the history
  • Loading branch information
ronyeh committed Oct 10, 2022
1 parent 15a963f commit 847bc90
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,10 @@ module.exports = (grunt) => {
});

releaseItDynamicImport
.then((releaseIt) => releaseIt(options))
.then((module) => {
const runTasks = module.default;
return runTasks(options);
})
.then((output) => {
try {
log('Removing build/ folder...');
Expand Down

0 comments on commit 847bc90

Please sign in to comment.