chore: Port JSON imports to import assertions
This commit is contained in:
parent
d74d900a76
commit
154d117883
52 changed files with 151 additions and 57 deletions
|
@ -1,4 +1,6 @@
|
|||
import { version } from '../package.json'
|
||||
import pkg from '../package.json' assert { type: 'json' }
|
||||
|
||||
const { version } = pkg
|
||||
|
||||
export default {
|
||||
version,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue