Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Commit

Permalink
πŸ› Fix package.json imports
Browse files Browse the repository at this point in the history
  • Loading branch information
trickypr committed Oct 2, 2021
1 parent 0374f23 commit b571193
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ import { ENGINE_DIR } from './constants'
import { shaCheck } from './middleware/sha-check'
import { updateCheck } from './middleware/update-check'

import { version as melon } from '../package.json'
// We have to use a dynamic require here, otherwise the typescript compiler
// mucks up the directory structure
// eslint-disable-next-line @typescript-eslint/no-var-requires
const { version: melon } = require('../package.json')

// The logger must be initialized before the config generator, otherwise reference
// errors occur
Expand Down

0 comments on commit b571193

Please sign in to comment.