Skip to content

Commit

Permalink
Make version import from package.json webpack 5 compatible (#604)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoroth committed Aug 22, 2022
1 parent 4aefd70 commit cb62c08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions javascript/reflex_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { getReflexRoots } from './reflexes'
import { uuidv4 } from './utils'
import { elementToXPath } from './utils'

import { version } from '../package.json'
import packageInfo from '../package.json'

export default class ReflexData {
constructor (
Expand Down Expand Up @@ -130,7 +130,7 @@ export default class ReflexData {
args: this.args,
url: this.url,
tabId: this.tabId,
version
version: packageInfo.version
}
}
}

0 comments on commit cb62c08

Please sign in to comment.