Skip to content

Commit

Permalink
Replace import assertion with import attribute
Browse files Browse the repository at this point in the history
Import assertions are already deprecated. Failing to fix this will cause everyone on Node.js 22 (LTS this month!) unable to push their changes.
  • Loading branch information
wojtekmaj authored and jjolton-contentful committed Oct 9, 2024
1 parent fb3bcc2 commit c03825d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { dirname, resolve } from 'path'
import { fileURLToPath } from 'url'

import pkg from './package.json' assert { type: 'json' }
import pkg from './package.json' with { type: 'json' }

import nodeResolve from '@rollup/plugin-node-resolve'
import commonjs from '@rollup/plugin-commonjs'
Expand Down

0 comments on commit c03825d

Please sign in to comment.