Skip to content

Commit

Permalink
Merge pull request #303 from release-it-plugins/fix-import
Browse files Browse the repository at this point in the history
Fixes lodash import that isn't playing nice with ESM
  • Loading branch information
scalvert authored May 27, 2024
2 parents a8dd4ed + d7d3a1f commit 6f28843
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ import { EOL } from 'os';
import fs from 'fs';
import which from 'which';
import { Plugin } from 'release-it';
import template from 'lodash/template';
import _ from 'lodash';
import tmp from 'tmp';
import execa from 'execa';
import { fromMarkdown } from 'mdast-util-from-markdown';

const template = _.template;
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

Expand Down

0 comments on commit 6f28843

Please sign in to comment.