Skip to content

Commit c03825d

Browse files
wojtekmajjjolton-contentful
authored andcommitted
Replace import assertion with import attribute
Import assertions are already deprecated. Failing to fix this will cause everyone on Node.js 22 (LTS this month!) unable to push their changes.
1 parent fb3bcc2 commit c03825d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { dirname, resolve } from 'path'
22
import { fileURLToPath } from 'url'
33

4-
import pkg from './package.json' assert { type: 'json' }
4+
import pkg from './package.json' with { type: 'json' }
55

66
import nodeResolve from '@rollup/plugin-node-resolve'
77
import commonjs from '@rollup/plugin-commonjs'

0 commit comments

Comments
 (0)