From c03825d2fb2be0fb14e4de5cea8c8bfef0def6df Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Tue, 1 Oct 2024 15:29:00 +0200 Subject: [PATCH] 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. --- rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index a09bb953c..dd94774d4 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -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'