Skip to content

Commit 189fe69

Browse files
committed
drop support for import assertions
nodejs/node#52104
1 parent c77d150 commit 189fe69

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838
"config": {
3939
"sitesUrl": "https://raw.githubusercontent.com/buzz/imdb-link-em-all/master/sites.json"
4040
},
41+
"engines": {
42+
"node": ">=22"
43+
},
4144
"devDependencies": {
4245
"@babel/cli": "^7.26.4",
4346
"@babel/core": "^7.26.0",

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import resolve from '@rollup/plugin-node-resolve'
1010
import precss from 'precss'
1111
import { fileURLToPath } from 'url'
1212

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

1515
const __dirname = path.dirname(fileURLToPath(import.meta.url))
1616
const production = !process.env.ROLLUP_WATCH

0 commit comments

Comments
 (0)