diff --git a/rollup.config.mjs b/rollup.config.mjs index faaf26cb..86af9ace 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -1,7 +1,7 @@ import path from 'node:path'; import esbuild from 'rollup-plugin-esbuild'; import sourcemaps from 'rollup-plugin-sourcemaps'; -import repo from './package.json' assert { type: 'json' }; +import repo from './package.json' with { type: 'json' }; import commonjs from '@rollup/plugin-commonjs'; import json from '@rollup/plugin-json'; import resolve from '@rollup/plugin-node-resolve'; diff --git a/src/core/reconciler.ts b/src/core/reconciler.ts index f2709970..37a52dd2 100644 --- a/src/core/reconciler.ts +++ b/src/core/reconciler.ts @@ -1,7 +1,7 @@ /* eslint-disable no-empty-function */ import Reconciler from 'react-reconciler'; -import packageData from '../../package.json' assert { type: 'json' }; +import packageData from '../../package.json' with { type: 'json' }; import { afterActiveInstanceBlur } from '../helpers/afterActiveInstanceBlur'; import { appendChild } from '../helpers/appendChild'; import { beforeActiveInstanceBlur } from '../helpers/beforeActiveInstanceBlur'; diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json index e5818db1..7e3f163c 100644 --- a/tsconfig.eslint.json +++ b/tsconfig.eslint.json @@ -3,6 +3,7 @@ "files": [ ".eslintrc.js", "release.config.js", + "rollup.config.mjs", ], "include": [ "./lib/**/*",