Skip to content

Commit

Permalink
Fixes lodash import that isn't playing nice with ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
scalvert committed May 27, 2024
1 parent a8dd4ed commit d7d3a1f
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 d7d3a1f

Please sign in to comment.