Skip to content

Commit

Permalink
chore: fix missing cjs build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
webketje committed Jun 10, 2022
1 parent 1db049e commit 0c9857e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/index.cjs
Expand Up @@ -3,7 +3,8 @@ const equals = require('assert-dir-equal')
const { describe, it } = require('mocha')
const Metalsmith = require('metalsmith')
const { name } = require('../package.json')
const plugin = require('..')
// eslint-disable-next-line node/no-missing-require
const plugin = require('../lib/index.cjs')

function fixture(p) {
return require('path').resolve(__dirname, 'fixtures', p)
Expand Down

0 comments on commit 0c9857e

Please sign in to comment.